In My env, I change the code in SQLResponse.java

@IgnoreSizeOf private List<List<String>>results;||

add the @IgnoreSizeOf annotations to resolve this problem.
在 2015年11月27日 13:45, Abhilash L L 写道:
Warn while query execution

[http-bio-7071-exec-4]:[2015-11-26
07:22:32,164][WARN][net.sf.ehcache.pool.sizeof.ObjectGraphWalker.checkMaxDepth(ObjectGraphWalker.java:209)]
- 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 <sizeOfPolicy> 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
<sizeOfPolicy> elements maxDepth attribute. For more information, see the
Ehcache configuration documentation.

I am observing in the tomcat logs for certain queries which are expected to
return high number of records..    And then there is no response for the
query request

Whats the suggested corrective action ?

Regards,
Abhilash

Reply via email to