java - Tenured Memory Not Clearing -
system details:
red hat enterprise linux 6.3 sun java jdk 1.6.0_38 apache tomcat 7.0.34 vmware environmentme: medium experienced linux admin, trial fire java/tomcat admin, no understand of java programming/code.
the environmental variables i've set results of months of digging through stackoverflow posts, oracle docs, , 300 or other web posts, much of conflicting info or details different version of java vm.
problem sometimes, tenured generation (also called old) not emptying/garbage collecting. causes slow performance our end users. initiating garbage collection visual vm sometimes resolves issue, not often. able take heap dump, unfortunately don't know i'm looking for. info should looking for? i'm sure there problems code, "fixing code" not immediate option. if it's simple throwing more memory/money @ it, i'll that, i'd java empty darn trash. if more details needed, i'm happy provide them, may have censor content there 'some' private information.
setenv.sh contents
export java_home="/usr/java/jdk1.6.0_38" export catalina_opts="$catalina_opts -verbose:gc -xx:+printgctimestamps -xx:+printgcdetails" export catalina_opts="$catalina_opts -xms512m -xmx512m" export catalina_opts="$catalina_opts -xx:permsize=128m -xx:maxpermsize=128m" export catalina_opts="$catalina_opts -xx:+cmsclassunloadingenabled" export catalina_opts="$catalina_opts -xx:cmsinitiatingoccupancyfraction=75" export catalina_opts="$catalina_opts -xx:+useconcmarksweepgc -xx:+cmsincrementalmode" export catalina_opts="$catalina_opts -server" export catalina_opts="$catalina_opts -dcom.sun.management.jmxremote.port=8008" export catalina_opts="$catalina_opts -dcom.sun.management.jmxremote.ssl=false" export catalina_opts="$catalina_opts -dcom.sun.management.jmxremote.authenticate=true" export catalina_opts="$catalina_opts -dcom.sun.management.jmxremote.password.file=/home/otrack/tomcat7/conf/management.jmxremote.password" export catalina_opts="$catalina_opts -djava.rmi.server.hostname=10.47.10.113" export jpda_opts="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"
java tomcat
No comments:
Post a Comment