users@glassfish.java.net

Re: Perminant memory errors

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Thu, 31 Jul 2008 21:23:16 +0200

Hi,

You can always try increasing the PermGen JVM setting for GlassFish,
but you may also want to use a tool like jconsole or better yet
visualvm to track the usage of the PermGen space, try regular explicit
calls to the GC, and figure out if you don't have any faulty object
retention.

-Alexis

On Jul 31, 2008, at 20:57, glassfish_at_javadesktop.org wrote:

> I have a web application that is constantly opening up XML
> documents. After a while the page response time slows down as the
> documents are opened. If I let it keep going, even with the slow
> response time, I get a:
>
> java.lang.OutOfMemoryError: PermGen space
>
> Has anyone else had this issue? Reading the info below, it seems
> that this isn't the cause, but this only started when I change the
> docs from synchronized objects to XML objects.
>
> http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/gbywc.html
>
> Thanks!
> [Message sent by forum member 'bthoma' (bthoma)]
>
> http://forums.java.net/jive/thread.jspa?messageID=290743
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>