Re: Settings default JVM heap size
From: Jose Rubio (spam_at_airphoria.com)
Date: 12/12/03
- Next message: Kevin: "Re: Please...Applet frame resize problem"
- Previous message: Chris Murphy: "Re: SAX & Servlets - How"
- In reply to: Harpstein: "Settings default JVM heap size"
- Next in thread: Harpstein: "Re: Settings default JVM heap size"
- Reply: Harpstein: "Re: Settings default JVM heap size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 12 Dec 2003 05:34:14 GMT
If you are executing the <java> task in Ant you can add the <jvmarg
value="=Xmx256m" /> tag to it. For the default one use the ANT_OPTS
environment variable. Read the Ant manual for more information
Hope it helps.
Jose Rubio
"Harpstein" <mharp@seapine.com> wrote in message
news:vthhaapd10i3a@corp.supernews.com...
> Hello all,
>
> I'm trying to figure out how to set the JVM max heap size default.
>
> I know about java -Xmx but I'm trying to run an Ant task and
"java -Xmx256m
> ant ..." is not working so I'm kinda lost.
>
> Isn't there some kind of config file I can add for the JVM everytime it
> starts up? Everything I've found on Google just tells people to use
> java -Xmx<size> class but I don't think that applies to me.
>
>
> Any help would be greatly appreciated.
>
> harpstein
>
>
- Next message: Kevin: "Re: Please...Applet frame resize problem"
- Previous message: Chris Murphy: "Re: SAX & Servlets - How"
- In reply to: Harpstein: "Settings default JVM heap size"
- Next in thread: Harpstein: "Re: Settings default JVM heap size"
- Reply: Harpstein: "Re: Settings default JVM heap size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|