Exactly.
While searching I also found another way to solve it:
Create a ~/.ant/ant.conf file with:
ANT_OPTS="-Xms512M -Xmx512M"
inside.
Now Ant is working fine.
Announcement
Collapse
No announcement yet.
java.lang.OutOfMemoryError: Java heap space
Collapse
X
-
Guest replied
-
Guest repliedIn and of itself java (and in turn ant) just uses 64Mb of your memory, trying to behave itself. Quite a testimony to java being about 10yrs old, I guess.
Try:
ant -Xmx512m -Dlib.dir=/opt/open-xchange/lib install
Leave a comment:
-
java.lang.OutOfMemoryError: Java heap space
Hi all,
I am following the howto to install OX Hyperion http://typo3.open-xchange.com/wiki/i...._Installation
I installed all 3rd party libraries.
When i launch:
Code:cd /tmp/open-xchange/ ant -Dlib.dir=/opt/open-xchange/lib install
Code:compile: [javac] Compiling 959 source files to /tmp/open-xchange/build [javac] [javac] [javac] The system is out of resources. [javac] Consult the following stack trace for details. [javac] java.lang.OutOfMemoryError: Java heap space BUILD FAILED /tmp/open-xchange/build.xml:111: Compile failed; see the compiler error output for details.
Any ideas ?
ThanksTags: None
Leave a comment: