Why do I see the message , "unexpected exception java.lang.OutOfMemoryError: Java heap space" in FrontEnd Server log and how do I resolve this?

0 Likes

Problem:

Why do I see the message , "unexpected exception java.lang.OutOfMemoryError: Java heap space" in FrontEnd Server log and how do I resolve this?

Resolution:

ANSWER
----------------------------------
This error occurs when the Java heap size of the FrontEnd Server is not large enough to service requests.
To resolve this error increase the Java heap size of the FrontEnd Server, set in the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\SCCFrontendServer\Parameters\Java\JvmMx



The value of the Java heap size should not exceed the available physical RAM on the FrontEnd Server machine and enough memory should be left available for other necessary processes. For example, if 2GB of RAM is available then it may be possible to increase the Java heap size to a value of 1.5GB (1536 bytes in the registry setting).

Restart the FrontEnd Server service for this change to take affect.

Old KB# 23651
Comment List
Related
Recommended