jboss - Java process memory Keeps Rising -


my production env:

os: windows server 2008 r2 64bit jdk: 1.6u41 64bit jboss: 5.1.0 ram: 24gb 

jvm parameters in jboss below:

set "java_opts=-xms3072m -xmx3072m -xx:maxpermsize=256m -xx:newsize=1024m -xx:maxnewsize=1024m -xx:survivorratio=32" 

then found java.exe memory usage(private working set) in windows task manager keeping going up, after few hours reachs 6gb, after few days, reachs 20gb, jboss server stop working.

i wonder why memory usage can far beyond jvm xmx setting?

can kindly me this?


full gc infomation below: c:\users\administrator>jstat -gcoldcapacity 2456 ogcmn       ogcmx        ogc         oc       ygc   fgc    fgct     gct 2097152.0   2097152.0   2097152.0   2097152.0 20565  1959 3746.986 11586.727 

i wonder why memory usage can far beyond jvm xmx setting?

the -xmx setting just gives maximum size of java heap. java uses other memory apart heap; e.g. code of jvm, , memory segments containing compiled code, thread stacks, , memory mapped files.

it seems application has serious memory leak, , leaking non-heap memory.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -