ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lfleal <lewis.l...@gmail.com>
Subject RE: OutOfMemoryError when building on x64
Date Fri, 25 Aug 2006 10:35:36 GMT

David,

The same build script works just fine under 1.5 on a win 32 server, the only
difference is that on the new server, the x64 version of the 1.5 JDK is
used.   The ant options are set to a max heap of 512m (where the old server
uses the default).  There seems to be more going on here...


David Corley (AT/LMI) wrote:
> 
> 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:lewis.leal@gmail.com] 
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message