← Back to team overview

openjdk team mailing list archive

[Bug 801101] Re: OutOfMemoryError with xGb+16bytes

 

** Attachment added: "error logs"
   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/801101/+attachment/2179273/+files/error_logs.zip

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/801101

Title:
  OutOfMemoryError with xGb+16bytes

Status in “openjdk-6” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/801101/+subscriptions



References