[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/30291] Out of memeory error when building the CVS version
From: |
audriusa at bluewin dot ch |
Subject: |
[Bug classpath/30291] Out of memeory error when building the CVS version |
Date: |
1 Jan 2007 21:23:01 -0000 |
------- Comment #6 from audriusa at bluewin dot ch 2007-01-01 21:23 -------
> What ecj are you using? Is it a script?
I have checked, and it is really a script (in /usr/bin), with the following
content:
#!/bin/sh
CLASSPATH=/usr/share/java/eclipse-ecj.jar${CLASSPATH:+:}$CLASSPATH \
java org.eclipse.jdt.internal.compiler.batch.Main "$@"
I just added -Xmx400m there and now the build passes again without problems. We
might need to add a note somewhere, explaining, that ecj may need to be invoked
as a java program and not via default startup script. I have filled in the ecj
RFE report, saying, that they -J option need to be implemented.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30291