OutOfMemoryError with xGb+16bytes

Bug #801101 reported by Bartolomeo Nicolotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

To whom it may concern.

we're using openjdk6 in this stack:

- Linux ubuntu 10.04 64bit
- Java
- Tomcat 5.5(JSP)
- axis2 web service

we're servicing 1000 request each day since march/2011 and we've had 2 strange
errors:

today:

# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of
swap space?
#
# Internal Error (allocation.cpp:215), pid=1509, tid=139713727981328
# Error: Chunk::new
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8
# Distribution: Ubuntu 10.04.1 LTS, package 6b18-1.8-4ubuntu3
# An error report file with more information is saved as:
# /home/sysop/hs_err_pid1509.log
#

on the 31/may/2010:

# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 4294967312 bytes for Chunk::new. Out of
swap space?
#
# Internal Error (allocation.cpp:215), pid=1408, tid=139749761050384
# Error: Chunk::new
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8
# Distribution: Ubuntu 10.04.1 LTS, package 6b18-1.8-4ubuntu3
# An error report file with more information is saved as:
# /home/sysop/hs_err_pid1408.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/

the strange thing is that in both cases the requested memory is 16 bytes more
than 2^31 or 2^32

2147483664 bytes= 2'147'483'664 2GB + 16byte (2^31 = 2'147'483'648)
4294967312 bytes= 4'294'967'312 4GB + 16byte (2^32 = 4'294'967'296)

attaching the error reports

Could you please check what's wrong?

also posted on openjdk bugzilla

https://bugs.openjdk.java.net/show_bug.cgi?id=100190

Many thanks

Best reagards

Bartolomeo Nicolotti

Revision history for this message
Bartolomeo Nicolotti (bnicolotti) wrote :
Revision history for this message
Bartolomeo Nicolotti (bart-nicolotti) wrote :

Any news? Happened another time.

bye

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.