PermGen space is different from the heap space so you need to add an additional argument:
-XX:MaxPermSize=128m
Regards
Scott
HotWax Media
http://www.hotwaxmedia.comOn 31/05/2010, at 10:45 PM, Rahul ojha wrote:
> when i try to debug opentaps1.4 through eclipse getng this error
> java.lang.OutOfMemoryError: PermGen space
>
> Exception: java.lang.OutOfMemoryError
>
> Message: PermGen space
>
>
>
> when try with command line using
>
> java -Xms128M -Xmx1536M -jar ofbiz.jar getng same exception. i know that
> exception come when server havng low heap space but don't know how to
> increase integrated tomcat(opentaps1.4) server heap size .
>
> with startofbiz.bat getng same exception.
>
> pls help me out .
>
>
> --
> Regards,
> Rahul