multithreading - Exception in thread "http-8080-10" java.lang.OutOfMemoryError: Java -
i have web application running on 64-bit windows server 2003, oracle 11g database , apache tomcat 6.0 web server.
application on live environment , around 3000 of user using application have encountered java heap out of memory error. after increasing heap space it's resolved.
now again facing same issue, below error stack trace:
exeption in thread "http-8080-10" java.lang.outofmemoryerror: java heap space aug 23, 2013 8:48:00 pm com.sessionclunter getactivesessions exeption in thread "http-8080-11" java.lang.outofmemoryerror: java heap space exeption in thread "http-8080-4" exeption in thread "http-8080-7" java.lang.outofmemoryerror: java heap space
your problem caused few things (at conceptual level):
you have many simultaneous users or user sessions.
you attempting process many user requests simultaneously.
you attempting process requests large (in sense).
you have memory leak ... related of above issue, or unrelated.
there no simple solution. (you've tried easy solution ... increasing heap size ... , hasn't worked.)
the first step in solving change jvm options take heap dump when oome occurs. use memory dump analyser examine dump, , figure out objects using memory. should give evidence allow narrow down possible causes ...
Comments
Post a Comment