My Oracle Support Banner

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

Last updated on OCTOBER 26, 2018

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.0 and later
Information in this document applies to any platform.

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.