ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcmi...@cs.com
Subject out of memory javadoc task
Date Mon, 31 Jul 2000 16:00:24 GMT
Today I started getting out of memory build failures:
[Javadoc] Constructing Javadoc information...
  [Javadoc] javadoc: java.lang.OutOfMemoryError: Please increase memory.
  [Javadoc] 1 error
  [Javadoc] For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx
  [Javadoc] such as -J-Xmx32m.
  [Javadoc] Result: 1

It could be my system, a Sun box, actually not having available memory, but I tried this:

$JAVACMD -J-Xmx128m -Dant.home=${ANT_HOME} org.apache.tools.ant.Main $@

as a quick test of ant and still get the same result.   Any memory issues with large ant builds?

--- Josef



Mime
View raw message