When a Load is Generated on a Website, the Following Error Occurs: Unable to Generate HTML Page. (System Error: Permagen Space) Java.IO.IOException: Permagen Space Java (Doc ID 989273.1)

Last updated on MAY 17, 2017

Applies to:

Oracle WebCenter Content - Version 10.1.3.3.0 and later
Information in this document applies to any platform.
The Portion of the Java Heap that holds meta-data describing user classes that are not part of the Java language, i.e. objects describing classes and methods are stored in the Permanent Generation area. Applications with large code-base can quickly fill up this segment of the heap which will cause java.lang.OutOfMemoryError: PermGen no matter how high your -Xmx and how much memory you have on the machine.


Symptoms

On Content Server 10.1.4.0.0 our Site Studio page becomes unavailable and the following error is generated:
ERROR
------------

Unable to generate HTML page. (System Error: PermGen space) java.io.IOException: PermGen space java.lang.OutOfMemoryError: PermGen space



The JAVA_MAX_HEAP_SIZE=nnnn parameter has been set, but whenever it is increased to try to resolve the problem this error occurs::

Error occurred during initialization of VM Could not reserve enough space for object heap
Could not create the Java virtual machine.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms