exception

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

exception

Rahul ojha
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
Reply | Threaded
Open this post in threaded view
|

Re: exception

Scott Gray-2
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.com

On 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


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: exception

rrhati2010
Thanks Scott for the suggestion.

May I know what is that attacment for???
RRH