This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Performance and the fly likes jvm tuning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "jvm tuning" Watch "jvm tuning" New topic
Author

jvm tuning

Mario Almeida
Greenhorn

Joined: Sep 13, 2010
Posts: 11
Hi All,

OS Centos 5.5 64Bit
2 Xeon Quad core 2.66Ghz, 8GB ram
JBOSS 4.2.3.GA
JDK 1.6u21

Can someone help me in tuning JVM

JVM_OPTS=


Please download gc00.log file from http://213.42.18.44/gc00.log


SumitPal Pal
Greenhorn

Joined: Aug 31, 2010
Posts: 21
I think you should ask this question - why do you need to do Heap Tuning - are you seeing excessive GC happening - then identify - what GC is happening excessive - Minor one / Major ones.

Is there an issue with the Application - too much object creation etc

Have you tried to answer those questions

Sometimes some 3rd party libraries - call GC explicitly in the code - try to see if you can add this flag
-DisableExplicitGC in the JVM_OPT and see if it reduces the number of GCs
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
-XX:PermSize=180m -XX:MaxPermSize=180m
Your PermSize and MaxPermSize are size. Can you increase your MaxPermSize ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jvm tuning
 
Similar Threads
Performance for Hibernate vs JPA(Hibernate) Jboss Help needed
Application deployed on JBoss 6.1 crashes
Running JBoss on Sheeva plug
java.net.SocketException: IP_ADD_MEMBERSHIP failed
setting JBoss property