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 NOVEMBER 06, 2018

Applies to:

Java SE JDK and JRE - Version 1.4.2 to 1.5.0 [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)


Java SE 1.4.2 and Java SE 5 fail after the Solaris 10 recommended patchset was installed. The problem is usually not observed in the global zone. One or more non-global zones are affected, not necessarily all non-global zones.

Error message from Java SE 5 (this example is from 1.5.0_21):

Exception java.lang.OutOfMemoryError: requested -4 bytes for size_t in
/BUILD_AREA/jdk1.5.0_21/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap

and/or (this example is from Java SE 1.5.0_22):

# ./java -Xms32m -Xmx32m -version
# An unexpected error has been detected by HotSpot Virtual Machine:
# Internal Error (4F533F534F4C415249533F53504152430E4350500054 FF), pid=27154, tid=1
# Java VM: Java HotSpot(TM) Server VM (1.5.0_22-b03 mixed mode)
# An error report file with more information is saved as hs_err_pid27154.log
Illegal Instruction

Error message from Java SE 1.4.2:

Exception java.lang.OutOfMemoryError: requested -4 bytes for size_t in /export1/jdk142-update/ws/fcs/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap space?

Error message from Java SE 5 pkgadd installation (shell script debugging output of Java SE 1.5.0_22):

+ jre1.5.0_22/bin/java com.sun.servicetag.Installer -source jre-1_5_0_22-fcs-bin-b03-solaris-sparc-09_oct_2009.bin

Illegal Instruction


This problem shows up after patch sets including the S10U8 rejuvenated kernel update patch were installed in the global zone, 141444-09 (Solaris 10 Sparc) or 141445-09 (Solaris 10 on x86) .


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
 Other possible root causes
 The problem shows up, but the installed version of libc is correct

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