7 Replies Latest reply: Aug 5, 2010 1:57 AM by Ruchir Choudhry RSS

    java.lang.OutOfMemoryError: PermGen space

    Rasa Here Novice



      In my production env i am getting following error when one of my program is being executed. The user didn't feel any issue but in the log file i got follwoing error.


      java.lang.OutOfMemoryError: PermGen space


      The mvc framework when tries to inialize the field variables i am getting this error. But this has executed many time but still it is not reproduced. Aftr this error system hanged and it forced us to restart jboss. My jboss version is jboss 3.2.5 and jdk is 1.5. How i can trace out such issue?


      in my run.sh i am setting verbosegc

      -verbosegc -XX:ThreadStackSize=256 -XX:MaxPermSize=128m

      But nothing has shown in the log file, my log file is configured through log4j.


      Thanks and Regards