My Oracle Support Banner

Java SE Fails After Patch Installation with "java.lang.OutOfMemoryError: requested -4 bytes for size_t " or "Illegal Instruction" (Doc ID 1276808.1)

Last updated on MARCH 31, 2023

Applies to:

Java SE JDK and JRE - Version 1.4.2 to 5 [Release 1.4 to 1.5]
Oracle Solaris on x86 (32-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (32-bit)

Symptoms

Java SE 1.4.2 and Java SE 5.0 can fail to launch after the Solaris 10 recommended patches are installed. The problem is usually not observed in the global zone. One or more non-global zones are affected, but not necessarily all non-global zones.

Example error message from Java SE 5.0_21:

 

 

Changes

Installing the Solaris 10 recommended patch sets in the global zone, including the S10U8 rejuvenated kernel update patch, 141444-09 (Solaris 10 Sparc) or 141445-09 (Solaris 10 on x86), can trigger the Java launch error.

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
 Other possible root causes
Solution
 The problem occurs when the installed version of /usr/lib/libc is correct
References


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