This content has been marked as final. 
    
Show                 5 replies
    
- 
        2. Re: PermGen out of memory !!??wise_guybg Aug 31, 2007 6:41 AM (in response to alex_enache)This error occurs when the JVM runs out of space in the permanent generation heap. (first result from http://www.google.bg/search?q=PermGen) 
 In my C:\jboss-4.2.1.GA\bin\run.bat I have a line tuned like so:set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m 
- 
        3. Re: PermGen out of memory !!??alex_enache Aug 31, 2007 8:37 AM (in response to alex_enache)Great. I already see the difference. Thanks for your replies and sorry for not digging deeper into this before posting. 
- 
        4. Re: PermGen out of memory !!??csl Aug 31, 2007 9:56 AM (in response to alex_enache)You could use the jrockit VM for development, which doesn't have a perm gen space. Therefore this won't ever happen. 
- 
        5. Re: PermGen out of memory !!??monkeyden Aug 31, 2007 12:06 PM (in response to alex_enache)I tired the jrockit approach and it turned out to be dog slow. From what I saw, it appears as though they use the file system to compensate for the permgen space bug. I saw a lot more very large files in the server/default directory (I forget what the extension was). I could be wrong though. 
 
     
     
     
    