Corrupted Jsp : Ioexception In Compile: Cannot Allocate Memory (Doc ID 471222.1)

Last updated on MAY 10, 2010

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.0.0 and later   [Release: AS10gR2 and later ]
Information in this document applies to any platform.
***Checked for relevance on 10-May-2010***

Symptoms

Application gradually started to generate errors when executing JSPs.
Errors occurred randomly and they were not always related to the same JSPs. The situation could be worked around by bouncing the oc4j container.
And the error displayed on failed JSPs   was:   Status: 500. Error message: OracleJSP:
oracle.jsp.provider.JspCompileException: <H3>Errors compiling:


Changes

j2ee/<oc4j>/log/<oc4j logfile>/oc4j/log.xml  had more detail about the error:

<MSG_TEXT>Using External Javac Compiler...</MSG_TEXT>
<MSG_TEXT>Args: [/nfs/local/app/oracle/product/HOME01/jdk/bin/javac, -J-Xmx1024m, @./javac.params.7328656]
<MSG_TEXT>IOException in compile: java.io.IOException: Cannot allocate memory</MSG_TEXT>
<MSG_TEXT>Compilation elapsed = 0s</MSG_TEXT>

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