Win a copy of Python Continuous Integration and Delivery this week in the Python 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

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

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.

Saloon Keeper
Posts: 1111
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!