I am facing a problem in Tomcat 8.5.89. When I deploy my Java application, it is consuming lot of memory. I actually kept heap as -Xmx20gb
. When I check in the Visual VM tool, it is going up and down for heap, but in Tomcat the memory is growing, not minimizing. After some point it stops working.
I am giving -Xms
and -Xmx
through Tomcat. My RAM is 40GB. It is a 64 bit OS/JDK/Tomcat. Is there anything needs to be tuned in Tomcat server to clear.
If it is happening in non-heap memory, how do I fix it
rama krishna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
4