My Oracle Support Banner

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

Last updated on OCTOBER 20, 2017

Applies to:

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


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:


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: Cannot allocate memory</MSG_TEXT>
<MSG_TEXT>Compilation elapsed = 0s</MSG_TEXT>


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

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