This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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 Hand
Posts: 982
9
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!