You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Rahul ojha <ra...@gmail.com> on 2010/05/31 12:45:55 UTC

exception

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

Re: exception

Posted by rrhati2010 <rr...@tcs.com>.
Thanks Scott for the suggestion.

May I know what is that attacment for???

-----
RRH
-- 
View this message in context: http://ofbiz.135035.n4.nabble.com/exception-tp2237554p2238051.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Re: exception

Posted by Scott Gray <sc...@hotwaxmedia.com>.
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