2 Replies Latest reply on Apr 28, 2005 8:15 PM by fangj

    java.lang.OutOfMemoryError:  Out of swap space

    fangj

      My jboss version is 3.2.5, OS is linux, total memory is 4G, swap space is 4G. The java version is 1.4.2_03.
      The java option is: -server -Xms2000m -Xmx2000m -XX:MaxPermSize=128M -XX:MaxPermSize=128M -XX:NewSize=512m -XX:MaxNewSize=512m -Xss512k -Djava.awt.headless=true

      The maximum thread is set to 280.

      After random time( Maybe 12 hours or serveral days) , the following error occurs:
      Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested 1508992 bytes for Chunk::new. Out of swap space?

      Would you please tell me how to fix this problem?

      Thank you very much!