0 Replies Latest reply on Mar 2, 2004 12:11 PM by vijpan

    HotSpot Virtual Machine Error -- Log says perm memory is 98%

    vijpan

      Hi,

      We have an web aplication, running on this configuration.

      Red Hat Linux Enterprise Advanced Server 3.0
      JBOSS 3.2.3
      2GB RAM
      1CPU - Intel Pentium IV
      JAVA_OPTS (also have tried several other values )=-Xms800m -Xmx800m -XX:MaxPermSize=400m

      While trying to start up JBoss 90% of the time this error comes ------
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.2_03-b02 mixed mode)
      #
      # Error ID: 53484152454432554E54494D450E435050014F
      #
      # Problematic Thread: prio=1 tid=0x081d6370 nid=0xecd runnable
      #

      Heap at VM Abort:
      Heap
      def new generation total 81920K, used 13512K [0x6f2d0000, 0x74bb0000, 0x74bb0000)
      eden space 72832K, 18% used [0x6f2d0000, 0x70002048, 0x739f0000)
      from space 9088K, 0% used [0x742d0000, 0x742d0000, 0x74bb0000)
      to space 9088K, 0% used [0x739f0000, 0x739f0000, 0x742d0000)
      tenured generation total 728192K, used 20550K [0x74bb0000, 0xa12d0000, 0xa12d0000)
      the space 728192K, 2% used [0x74bb0000, 0x75fc1848, 0x75fc1a00, 0xa12d0000)
      compacting perm gen total 20736K, used 20501K [0xa12d0000, 0xa2710000, 0xba2d0000)
      the space 20736K, 98% used [0xa12d0000, 0xa26d5410, 0xa26d5600, 0xa2710000)
      ./run.sh: line 201: 3789 Aborted $JAVA $JAVA_OPTS -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"

      -------------------------------------------------------
      If you see in the last it says that 98% of perm gen used out of around 20 MB, but that is not the case i have provided a lot higher memory through -XX:MaxPermSize=400m

      Is it due to the way Linux manages the thread or some thing else, i have tried the same thing on a windows 2000 machine with just 1GB RAM, it didnt crashed like this and also it starts up the JBOSS in half the time it does on Linux?

      Am i missing something ...do i have to do some kind of "ulimit" on this linux box or anything else?

      Any help will be highly appreciated.

      Thanks a lot.