@Suvendu, I took a heap dump from Java VisualVM but honestly i didnt know how i should analyse it, please some help here
also please find below the java configuration i used: -XX:PermSize=10240m -XX:MaxPermSize=10240m -XX:ReservedCodeCacheSize=512m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:TargetSurvivorRatio=90 Initial and Max Memory Pool: 100000MB Regards, Fady On Wed, Aug 16, 2017 at 5:46 PM, Suvendu Sekhar Mondal <suv3...@gmail.com> wrote: > Hi Fady, > > On Aug 16, 2017 7:04 PM, "Fady Haikal" <fadyhai...@gmail.com> wrote: > > Dear Team, > I'm facing an issue that tomcat from task manager is consuming around 60 GB > of memory while from Oracle Java Mission Control is showing maximum 10 GB > (Attached screenshots), and from time to time the server hang due to > insufficent memory. > can you please advise why the above is showing like that? and why the > memory of the server is not reducing? > > Tomcat Version: 8.0.30 > JDK: 1.7.0_67 > > > I couldn't find the screenshot. Anyway​, the issue you mentioned is very > interesting. Usually I saw some difference(in MB) between task manager data > and JMC data...but not like this. Can you please let us know about the > Java Heap, Permgen and thread stack size configuration? > > For starter, I will suggest to take a heap dump and look into it. It will > show you which objects are live and holding the memory. Also it will be > awesome if you can enable Native Memory Tracking for your TC instance. > > Thanks! > Suvendu >