The Retain Server Runs Out of Memory

  • 7019096
  • 03-Dec-2015
  • 07-Aug-2017

Environment


Windows 2008 R2

Situation


My Retain Server is running very slowly and something is taking up all the RAM.

When checking the status of a job in the Jobs pane we get an error:

Error: java.land.OutOfMemoryError.PermGen space
Code: 500
URI: /RetainServer/Manager/job_status_iframe.jsp

Resolution

While exploring the error we found that there was no free memory on the server. In Task Manager and Resource Monitor under the Memory tab, all memory was either In Use or on Standby.
Stopping the tomcat service did not free up memory for long, but no processes were showing that they were using even remotely the amount of RAM that was being used.

We downloaded RAMMap from MS https://technet.microsoft.com/en-us/sysinternals/rammap.aspx
and found that the culprit was an item called metafile.

This lead us to a Microsoft support document with a workaround.:
You experience performance issues in applications and services when the system file cache consumes most of the physical RAM
 

see also: Windows Server 2008 R2 Metafile RAM Usage

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 2670.