Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ever increasing heap size  RSS feed

Bob Sullivan
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Java client using weblogic. If I leave the client up "doing nothing" over several hours the heap size increases even though the number of bytes used remains the same. Monitoring with optimizeIT reveals a steady increase in used bytes until GC kicks in bringing the used bytes size back down. This cycle repeats over and over. About every 5th time though the Java heap size gets bumped up a few MB at about the same time the GC starts. After GC the used bytes goes back down to its baseline but the enlarged heap remains. This results in an ever-increasing gap between used bytes and heap size. Is there any way to control the heap size growth so that it waits until GC is finished before deciding to grow?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!