tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fady Haikal <fadyhai...@gmail.com>
Subject Re: Tomcat memory
Date Thu, 17 Aug 2017 06:46:48 GMT
@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 <suv3ndu@gmail.com>
wrote:

> Hi Fady,
>
> On Aug 16, 2017 7:04 PM, "Fady Haikal" <fadyhaikal@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message