Re: additional arguments and java heap

Sacha Mallais <[email protected]> Tue, 22 Mar 2005 09:06:26 -0800
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
On Mar 22, 2005, at 7:52 am, Anthony Brian Arthur wrote:

> When I start the deployed app without specifying Xms & Xmx memory 
> range, it starts fine.  However, if I specify these args it does not.  
> Would anyone know why this happens?
>
> I am using args -Xms=256 -Xmx=1024, and earlier I got it work.  Later, 
> I bumped it up to -Xmx=2048 (or 4096 not sure) which is when I started 
> having this problem.
>
I wonder if you need the "m" after that, since you seem to be 
specifying a max heap size of 1024 _bytes_.

Also, I'd include the -server switch:
-server -Xms256m -Xmx1024m


sacha


-- 
Sacha Michel Mallais - 400 lb. chimp
Global Village Consulting Inc.:   http://www.global-village.net/
Choke on that, causality!  -- the Professor, "Futurama"