我正在调查我们应用程序的缓慢和集群环境中一个实例崩溃的问题。几周前,我遇到了以下错误:
[#|2012-05-11T14:12:03.460-0400|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=89;_ThreadName=httpSSLWorkerThread-7311-0;_RequestID=7afaee11-c970-40dd-b5fb-29498af8e512;|StandardWrapperValve[LoginModule]: PWC1406: Servlet.service() for servlet LoginModule threw exception
java.lang.OutOfMemoryError: GC overhead limit exceeded
我认为由于GC的限制超出了,这与我的应用程序有关。有一个报告使用POI在excel中放置记录非常密集,因此我认为这可能是原因之一。作为一个短期解决方案,在下一个版本发布之前,我们通知了一个可以访问此报告的用户不要访问它。然而,两周后,今天再次有一个实例崩溃了,在搜索日志时,我发现了以下错误:
[#|2012-06-05T10:31:36.532-0400|SEVERE|sun-appserver2.1|net.jxta.impl.endpoint.mcast.McastTransport|_ThreadID=141;_ThreadName=IP Multicast Listener for mcast://228.8.10.93:31676;_RequestID=90caf76e-b740-4f11-8ffe-8ab88a740569;|Uncaught Throwable in thread :IP Multicast Listener for mcast://228.8.10.93:31676
java.lang.OutOfMemoryError: Java heap space
|#]
请注意
GC overhead limit exceeded
与Java heap space
的区别。我正在试图找出今天我看到的错误是否由用户访问报告的相同原因引起,但我认为如果是这种情况,那么我会看到GC overhead limit exceeded
。我认为今天的错误更与服务器配置相关。
请协助澄清。