Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

IBM Java- GC runs after 99% of heap memory  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

We are receiving alerts from the Websphere Application Server 7.0.25 whenever heap memory reaches to 90% but Garbage Collection did not run at that moment. We monitor the memory and found that GC is running only after 99% of heap memory usage. The JVM parameters are set as:

Initial Heap Memory - 128MB
Max Heap Memory - 512MB.

Please suggest is there anyway, where GC starts after reaching 90% or less than that heap memory utilization.

Thanks,
Srini
 
Ranch Foreman
Posts: 1024
24
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Garbage collection is something totally delegated to the JVM implementation; JVM should do its best to keep the free heap space among min and max values. It sounds
strange that gc is run only with 99% heap usage. Sure to have installed latest PTF ? Sure not to have set any "strange" parameter for the JVM ?
If it's the case, you may open a PMR.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!