• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jvm tuning

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
-XX:PermSize=180m -XX:MaxPermSize=180m
Your PermSize and MaxPermSize are size. Can you increase your MaxPermSize ?
reply
    Bookmark Topic Watch Topic
  • New Topic