you can do it through java flags (see java -help and on solaris use java -X)
you can set maximum stack and heap size for the jvm.
I am not sure if ANT can do it directly through build-in (optional) task,
but
you can always use 'exec' or 'execOn' ant tasks to do it.
hope it helps
boris
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 2:42 PM
To: [EMAIL PROTECTED]
Subject: Does anyone know how to set the ....
Amount of memory that Java can use on Solaris? Is this done through ANT or
just on the command line?
thanks