1 Reply Latest reply on Jan 29, 2012 10:41 PM by Trong Tran

    java.lang.OutOfMemoryError JDK -1.6.0_24

    sushalendra Joshi Newbie

      I have installed the GateIn-3.2.0-M01-jbossas5 and JDK version as mentioned below.

      java version "1.6.0_24"

      Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

      Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)


      When I navigate thwo or three screens , server will crashes with error as


      # An unexpected error has been detected by Java Runtime Environment:


      # java.lang.OutOfMemoryError: requested 992296 bytes for Chunk::new. Out of swap space?


      #  Internal Error (414C4C4F434154494F4E0E43505000C7), pid=1364, tid=4200


      # Java VM: Java HotSpot(TM) Server VM (1.6.0-b105 mixed mode)

      # An error report file with more information is saved as hs_err_pid1364.log


      # If you would like to submit a bug report, please visit:

      #   http://java.sun.com/webapps/bugreport/crash.jsp


      Press any key to continue . . .


      If I run with JRE with the following details, the server works perfectly fine. I am not able to trouble shoot the issue. Please help me to resolve the issue.

      10:38:46,110 INFO  [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc.

      10:39:18,810 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

      10:39:18,810 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 19.1-b02,Sun Microsystems Inc.