Unstable 64bit Standalone OC4J With 4GB (Doc ID 762904.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.0.0 to 10.1.3.4.0
Sun Solaris SPARC (64-bit)
Sun Solaris x86-64 (64-bit)

Symptoms

Application was deployed on Standalone OC4J with -Xmx3072m.
Experience shows that the application would need more heap memory,
but being restricted because of the necessity of compilation in 32bit mode.

After a short time, java memory problems showed up.
The JVM was then configured with -D64 -Xmx4096m.

But the application became unstable after that, so got back to 32bit and 3072m heapsize.
The OC4J is running stable now, but the application does not work (internal server error).
In the logfiles, seeing OutOfMemoryError messages.

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