Googled it. These work for me (so far, still running tests...):

set ANT_OPTS=-XX:MaxPermSize=128m  (Windows)
export ANT_OPTS=-XX:MaxPermSize=128m (Unix)

/Bob

-----Original Message-----
From: Buck, Robert [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2008 4:58 PM
To: [email protected]
Subject: Beta 2: IVY + Ant = OutOfMemoryError: PermGen space

Hi,
 
Here is the next migration issue to Beta 2 that I ran into:
 
D:\dev\rbuck\sandboxes\head-combo\workspace\build\internal\buildmagic.xm
l:100: java.lang.OutOfMemoryError: PermGen space
 
That line corresponds to the following line in Ant:
 
    <ivy:settings id="ivy.instance"
file="${ivy.default.conf.dir}/ivysettings.xml" override="true"/>

This is a first for an Ant build for me.
 
Bob

Reply via email to