title: IgnoreSizeOf annotation when using ehcache with terracotta
body: <p>I am using ehcache with terracotta in my application. My response time increased by 700 folds when i am using ehcache with terracotta. I think the terracotta is taking time in measuring the size of objects as it giving me warning:</p>
  
  <blockquote>
    <p>net.sf.ehcache.pool.sizeof.ObjectGraphWalker checkMaxDepth 
      WARNING:
    The configured limit of 1,000 object references was  reached while
    attempting to calculate the size of the object graph.  Severe
    performance degradation could occur if the sizing operation continues.
    This can be avoided by setting the CacheManger or Cache 
    elements maxDepthExceededBehavior to "abort"  or adding stop points
    with @IgnoreSizeOf annotations.  If performance degradation is NOT an
    issue at the configured limit, raise the limit value using the
    CacheManager or Cache  elements maxDepth attribute. For
    more information, see the Ehcache configuration documentation.</p>
  </blockquote>
  
  <p>When i used @IgnoreSizeOf annotation on my class, the response time reduced to a lot . My question is does using @IgnoreSizeOf annotation has any disadvantages. For what it is being used and how it is reducing the response time of my application Please help.
  Thanks in advance. </p>