the peek in my graph is touching new high every time. my vm arguments as follows,
-XX:+UseCompressedOops -XX:+TieredCompilation -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
is it fine or something wrong with the arguements?
This looks normal to me.
Objects are created in the Eden space and you appear to have about 400 MB of Eden. (The size between the peak and minimum memory usage)
This indicates you are creating about 3 of these every 3 hours or about 400 MB/hour. Note: your monitoring tool could be creating a lot or even most of this garbage.
After each minor collection, surviving objects are added to the Survivor spaces. Once these objects have been copied enough times they are added to the tenured space.
As you are using JMX / RMI, this could be both the main cause of garbage in the eden and retained objects. I suggest you reconnect and perform a full GC. This will let you know how much is actually being retained.
If the amount retained after a full GC is increasing, you might have a memory leak.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With