Tomcat service - High Memory in Use in Windows 2012 R2

Document ID : KB000074748
Last Modified Date : 23/03/2018
Show Technical Document Details
Issue:
There is a high memory in use in the Windows 2012 R2 machine where the CA Spectrum OneClick web server is running.
When the Spectrum Tomcat service is bounced, the Memory usage goes to normal usage.

User-added image
Environment:
CA Spectrum 10.2.1 
Cause:
The VMware's Memory Ballooning is causing this behavior.

The OneClickService.exe is not the culprit. As per the Windows Task, it is using less than 1 GB.

User-added image

And the OneClick Web Server Memory is limited to 2,276 MB.

User-added image

Downloaded the RamMap utility from www.sysinternals.com to check the memory utilization.
Most of the Memory is allocated to the Driver Locked.

User-added image

When you bounce the Spectrum Tomcat service, the Driver Locked releases the Memory.
User-added image
 
Resolution:
Moved the OneClick VM to another ESX host.
Additional Information:
Virtualization – Overcommitting memory and how to detect it within the VM
https://blogs.msdn.microsoft.com/saponsqlserver/2013/08/31/virtualization-overcommitting-memory-and-how-to-detect-it-within-the-vm/

You can use the TestLimit utility to simulate the memory load. 
https://blogs.msdn.microsoft.com/vijaysk/2012/10/26/tools-to-simulate-cpu-memory-disk-load/