Lots of Confluence Ehcache sizeOf warnings

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

This widget could not be displayed.

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

This widget could not be displayed.

I created a bug report here:

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

Thanks - voted and now watching this one!

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

Thanks David, I'm watching this as well

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

170 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you