On 23 November 2012 10:09, Koot <[email protected]> wrote:

> Hi all
>
> I am developing a RESTlet API, and suddenly I got this error:
>
> SEVERE: WebModule[/Phase3JEE-war]StandardWrapper.Throwable
> java.lang.OutOfMemoryError: PermGen space
>
> WARNING: StandardWrapperValve[MainServerApplication]: PWC1382: Allocate
> exception for servlet MainServerApplication
> java.lang.OutOfMemoryError: PermGen space
>
> After restarting GlassFish and Tomcat all was fine again, but I am a
> little reluctant to consider that a proper fix - can't have this happen on
> a live system.
>
> Any ideas or pointers for debugging this?
>
>
Increase the PermGen space allocated to the JVM, e.g.  -XX:MaxPermSize=128m ,
or a value sufficient for your application.

This is JVM error, not specific to the servlet container or Restlet.
PermGen = Permanent Generation
http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html

Best regards,
Nina


> Thanks!
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3030429
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3030450

Reply via email to