Heap Size of a Java application is changing frequently

Viewed 60

Allocated Heap Size is fluctuating for the java app.

I am observing in JVisualVM that Heap Size of my application is fluctuating very often. I am observing decent GC activity as well.

I am of assumption that once JVM allocates a specific Heap Size, it doesn't release any of it to OS even if the used Heap Size decreases. Can someone help me understand this behaviour.

JvisualVM Snapshot showing frequent change in Heap Size

0 Answers
Related