java.lang.OutOfMemoryError: Java heap space in tomcat7 -


i getting error in tomcat server.

exception in thread "http-bio-8080-exec-17"  exception in thread "http-bio-8080-exec-2" exception in thread "http-bio-8080-exec-15"  exception in thread "http-bio-8080-exec-20" exception in thread "http-bio-8080-exec-18"  java.lang.outofmemoryerror: java heap space. 

i have seen mat how generate .hprof file in tomcat server.

thank you.

to remove error edit file

etc/default/tomcat7    

replace with:

java_opts="-djava.awt.headless=true -xmx1280m -xx:+useconcmarksweepgc" 

then restart our web server

xmx new maximum size of memory , should affordable machine.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -