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 <[email protected]> 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 <[email protected]> wrote:
>
>From: Mark Ritchie <[email protected]>
>Subject: Re: java.lang.OutOfMemoryError
>To: "Theodore Petrosky" <[email protected]>
>Cc: [email protected]
>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      ([email protected])
>Help/Unsubscribe/Update your Subscription:
>http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>
>This email sent to [email protected]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to