You should set the -Xms -Xmx properties for your JVM. They control the
minimum and maximum heap size the JVM is allowed to use. There's plenty
of documentation for these two switches online. 

-----Original Message-----
From: lfleal [mailto:[EMAIL PROTECTED] 
Sent: 25 August 2006 03:17
To: user@ant.apache.org
Subject: OutOfMemoryError when building on x64


I have bulds that work fine in 32 bit environments (with Java 1.5), but
will not work in a x64 environment.  I am using Ant 1.6.5 and Java 1.5
06.  Any ideas?


Buildfile: build\build.xml

init:
  [taskdef] Could not load definitions from resource
checkstyletask.properties. It could not be found.

clean:
   [delete] Deleting directory
D:\automated_builds\continuum-1.0.3\apps\continuum\working-directory\1\b
uild\stage

makeClasses:
    [mkdir] Created dir:
D:\automated_builds\continuum-1.0.3\apps\continuum\working-directory\1\b
uild\stage
    [javac] Compiling 2370 source files to
D:\automated_builds\continuum-1.0.3\apps\continuum\working-directory\1\b
uild\stage
    [javac] Exception in thread "main" java.lang.OutOfMemoryError: Java
heap space

BUILD FAILED
D:\automated_builds\continuum-1.0.3\apps\continuum\working-directory\1\b
uild\build.xml:117:
Compile failed; see the compiler error output for details.

Total time: 23 seconds
 


--
View this message in context:
http://www.nabble.com/OutOfMemoryError-when-building-on-x64-tf2162231.ht
ml#a5975872
Sent from the Ant - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to