glassfish - What is the difference in java.lang.OutOfMemory: GC Overhead limit exceeded vs. java.lang.OutOfMemory: Multicast listener -
i investigating slowness in our application , 1 of instances in cluster environment going down. few weeks came across error below:
[#|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() servlet loginmodule threw exception java.lang.outofmemoryerror: gc overhead limit exceeded
i figured since gc overhead limit exceeding, had application. there report intensive on putting records in excel using poi, thought might causing it. short term fix, until next release, informed 1 user had access report not access it.
however, today, 2 weeks later again 1 of instances went down , upon searching logs found error below:
[#|2012-06-05t10:31:36.532-0400|severe|sun-appserver2.1|net.jxta.impl.endpoint.mcast.mcasttransport|_threadid=141;_threadname=ip multicast listener mcast://228.8.10.93:31676;_requestid=90caf76e-b740-4f11-8ffe-8ab88a740569;|uncaught throwable in thread :ip multicast listener mcast://228.8.10.93:31676 java.lang.outofmemoryerror: java heap space |#]
please note difference in gc overhead limit exceeded
vs. java heap space
. trying find out whether error saw today caused same reason of user accessing report, however, believe if case see gc overhead limit exceeded
.
i believe error today more related configuration of server.
please in clarifying.
the first error "gc overhead" means gc taking large portion of cpu cycle, means 98% or 99% , in each run releasing less memory 1-2%.
the second error means application went out of memory during processing.
also investigation correct of poi using of memory, poi has history of memory consumption.
came across very discussion on so
Comments
Post a Comment