周末我将iServer从10.1.2升级到了10.2.1,今天看到控制台上报错“GC overhead limit exceed”以及无法连接特定数据源(每分钟间隔)的消息
之后我删除了工作空间里无法连接的数据源,重启了iServer后,无法连接特定数据源的消息就没有出现在控制台上了
但之后,没过多久就又出现了没见过的新消息,内容如下:
2024-6-3 16:19:27 - WARN - 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.
查了一下是在尝试计算对象图的大小时,达到了配置的1,000个对象引用的限制。
请问为什么以前10.1.2不会报这个警告,然后报了这个警告后是否需要进行某些优化处理?