--- Tomasz Nowak <[EMAIL PROTECTED]> wrote: > Peter Lin <[EMAIL PROTECTED]> wrote: > > > > look at the dump, it looks like the permgen ran > out of space > > > > PSPermGen total 50304K, used 50170K > [0x445f0000, 0x47710000, > > 0x545f0000) > > object space 50304K, 99% used > [0x445f0000,0x476ee878,0x47710000) > > > > try increasing your permGen to 128Mb. Another > option is to use a jdk > > that doesn't have permGen like JRockit. Sun's > PermGen is not resized > > once the JVM starts, so if the webapp has lots of > classes, it can > > exceed the PermGen size. > > > > As you see at the bottom of the file I have already > 256m PermSpace. > Another issue is that if Tomcat 5.5.x runs out of > PermSpace, it logs: > > java.lang.OutOfMemoryError: PermGen space > > in contrary to: > > java.lang.OutOfMemoryError: Java heap space > > And heap space OOME is the one that has been logged. > > -- > T. Have you set limits on how large your heap can get? If you have limited your new size or changed the ratios any of that can have this affect as well. Sometimes changing the ratio to not have enough new space and then creating too many objects too fast can make your application eventually throw OOMEs because it can't move the objects into older spaces quick enough depending on what you application is doing. I found this happens with large applications (such as IDEs like Netbeans, but if you web app is large enough and depending on what you are doing....same thing could happen).
How much memory does your system have compared to how much memory you have allocated to your heap? Asking because of the way the VM will be able to allocate memory. The total heap size switches are separate from the MaxPermSize, so if your heap size is too large and then you have bumped up your PermSize then you could have this issue when your PermSize resizes and your heap tries to grow as well. MaxPermSize doesn't set the PermSize to that size, but is merely a limit, so it will grow as you add to your permanent objects (classes and statics). Wade --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]