Hi,

Try using this: -Xms256m -Xms1024m -XX:MaxPermSize=256m

This works very well if you don't have a memory leak in your code.

Farrukh

Theodore Petrosky <tedp...@yahoo.com> wrote:

>Thanks honey, I love you too.. :-)
>
>I found that and a wonderful video explaining how to set the -Xms and -Xmx 
>values in the run configuration of my app. so I added:
>
>-Xms256m -Xmx512m
>
>to my VM arguments and there was no change. So either I totally misunderstood 
>what to fix or I need more drugs.
>
>Ted
>
>--- On Mon, 3/14/11, Mark Ritchie <mark.ritc...@mac.com> wrote:
>
>From: Mark Ritchie <mark.ritc...@mac.com>
>Subject: Re: java.lang.OutOfMemoryError
>To: "Theodore Petrosky" <tedp...@yahoo.com>
>Cc: webobjects-dev@lists.apple.com
>Date: Monday, March 14, 2011, 5:13 PM
>
>On 14/Mar/2011, at 1:57 PM, Theodore Petrosky 
>wrote:java.lang.OutOfMemoryError: Java heap space
>where can I adjust this value? I am on a mac mini os x 10.6.6
>
>http://tinyurl.com/5vgejad
>That should get you started!  ;-)M
>
>
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>Help/Unsubscribe/Update your Subscription:
>http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>
>This email sent to farrukh.i...@fuegodigitalmedia.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to