Out of Memory Error
Jeff Andrews
jeffrey@ga.prestige.net
Sun Apr 11 18:40:00 GMT 1999
I've recently got the latest stable release of egcs...from 1999年04月05日.
I then
proceeded to download the libgcj package.
When I built it on my 1rst box...I had all sorts of problems with
building the packages...I was using GNUPro Toolkit (the latest version).
Now, I then threw my hands up and proceeded to build it on my other box
simply using the 2.7.2.3. This was to build the egcs compilers. When I
finished
with that I set the egcs stuff as my default compiler to build the
libgcj package.
It built. However when I try to run one of my tests ...(as follows:
/* HelloWorld.java */
package class HelloWorld
{
public static void main(String[] args){System.out.println("Hello");}
}
with
gcj --main=HelloWorld -o HelloWorld HelloWorld.java
this is the output:
[root@pilsner /root]# ./HelloWorld
Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
Any thoughts or compiling options I should try?
To note I configured with --enable-languages="c++,java"
I am running RH 5.2 upgraded from 5.1,from5.0.
A pentium 100 and 64MB Ram. and JDK 1.1.7a (Blackdown)
Thank you for any assistance!
Jeff Andrews
jeffrey@ga.prestige.net
More information about the Java
mailing list