Lots of Confluence Ehcache sizeOf warnings

Johan Berg December 16, 2013

I get a lot of these in my logs for Confluence. Any idea what it is and why it is occurring? I am using the latest Confluence installation. I have one Space which has over 3000 pages, might that be the issue?

2013-12-17 15:09:56,989 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf value type: net.sf.ehcache.Element
2013-12-17 15:09:56,990 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf value: [ key = 1606606, value=Item{version=null,freshTimestamp=5682143665594368,value type=[Ljava.io.Serializable;}, version=1, hitCount=0, CreationTime = 1387242105858, LastAccessTime = 1387242105858 ]
2013-12-17 15:09:56,990 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf container: net.sf.ehcache.store.chm.SelectableConcurrentHashMap$HashEntry@2f37c684
2013-12-17 15:09:56,992 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf The configured limit of 100 object references was reached while attempting to calculate the size of the object graph. This can be avoided by adding stop points with @IgnoreSizeOf annotations. Since the CacheManger or Cache <sizeOfPolicy> elements maxDepthExceededBehavior is set to "abort", the sizing operation has stopped and the reported cache size is not accurate. If performance degradation is NOT an issue at the configured limit, raise the limit value using the CacheManager or Cache <sizeOfPolicy> elements maxDepth attribute. For more information, see the Ehcache configuration documentation.
2013-12-17 15:09:56,992 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf key type: java.lang.Long
2013-12-17 15:09:56,992 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf key: 1606064
2013-12-17 15:09:56,993 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf value type: net.sf.ehcache.Element

5 answers

1 vote
David Yu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2014

I created a bug report here:

https://jira.atlassian.com/browse/CONF-32806

Jason Plumhoff
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2014

Thanks - voted and now watching this one!

1 vote
Jason Plumhoff
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2014

Not just Team Calendar. I'm seeing a bunch of these that seem to be related to users viewing powerpoint documents.

0 votes
April March 2, 2014

Thanks David, I'm watching this as well

0 votes
April January 13, 2014

I too have piles of these errors. Not sure, but they appear to coincide with users viewing pages which contain an instance of Team Calendar.

Can Atlassian comment on this please?

2014-01-13 18:19:14,861 INFO [http-8444-38] [confluence.rpc.auth.TokenAuthenticationInvocationHandler] invokeAuthenticatedMethod Executing remote API method [ getPage ] as user [ xxxxxxxx ]
2014-01-13 18:24:15,830 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf The configured limit of 100 object references was reached while attempting to calculate the size of the object graph. This can be avoided by adding stop points with @IgnoreSizeOf annotations. Since the CacheManger or Cache <sizeOfPolicy> elements maxDepthExceededBehavior is set to "abort", the sizing operation has stopped and the reported cache size is not accurate. If performance degradation is NOT an issue at the configured limit, raise the limit value using the CacheManager or Cache <sizeOfPolicy> elements maxDepth attribute. For more information, see the Ehcache configuration documentation.
2014-01-13 18:24:15,832 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf key type: java.lang.Long
2014-01-13 18:24:15,833 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf key: 3797
2014-01-13 18:24:15,833 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf value type: net.sf.ehcache.Element
2014-01-13 18:24:15,833 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf value: [ key = 3797, value=Item{version=null,freshTimestamp=5692007008108551,value type=[Ljava.io.Serializable;}, version=1, hitCount=7, CreationTime = 1389650148464, LastAccessTime = 1389651891324 ]


Many repetitions, then...

[atlassian.confluence.servlet.ConfluenceServletDispatcher] serviceAction There is no Action mapped for namespace /plugins/calendar/ical and action name dc
-- url: /plugins/calendar/ical/dc.action | userName: anonymous

0 votes
Gavin Fowler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2014

I'm also seeing this in my Confluence logfile (following upgrade from 5.3.4 -> 5.4.1).

2014-01-13 12:33:48,037 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf The configured limit of 100 object references was reached while attempting to calculate the size of the object graph. This can be avoided by adding stop points with @IgnoreSizeOf annotations. Since the CacheManger or Cache &lt;sizeOfPolicy&gt; elements maxDepthExceededBehavior is set to "abort", the sizing operation has stopped and the reported cache size is not accurate. If performance degradation is NOT an issue at the configured limit, raise the limit value using the CacheManager or Cache &lt;sizeOfPolicy&gt; elements maxDepth attribute. For more information, see the Ehcache configuration documentation.
2014-01-13 12:33:48,038 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf key type: java.lang.Long
2014-01-13 12:33:48,038 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf key: 70649218
2014-01-13 12:33:48,039 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf value type: net.sf.ehcache.Element
2014-01-13 12:33:48,039 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf value: [ key = 70649218, value=Item{version=null,freshTimestamp=5691863959728148,value type=[Ljava.io.Serializable;}, version=1, hitCount=0, CreationTime = 1389615224543, LastAccessTime = 1389615224543 ]
2014-01-13 12:33:48,040 WARN [pool-1-thread-1] [ehcache.pool.impl.DefaultSizeOfEngine] sizeOf container: net.sf.ehcache.store.chm.SelectableConcurrentHashMap$HashEntry@6603ac51

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events