[kaffe] strange problem - jvm exits with OutOfMemoryError

siddharth karandikar siddharth.forums at gmail.com
Tue Sep 20 01:43:35 PDT 2005


Hi,

I was running this simple program on kaffe 
-----------------------------------------------------------------------
public class loop {
public static void main(String args[]) {
long l = 0;
for(l = 0 ; l < 99999999 ; l++) {
System.out.println(">>"+l);
}
}
}
-----------------------------------------------------------------------
the exact command i used is 

/home/siddharth/kaffe-1.1.5/bin/java -Xms32m -Xmx32m loop

The VM exits with OutofMemory with following error message

"Throwing OutOfMemoryError is not implemented in Boehm-GC.
Aborted"

It could never complete the loop of 99999999 :(

Any hints about what is the issue ?

Thanks,
------------------------
~ Siddharth ~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20050920/18c010f2/attachment-0005.htm 


More information about the kaffe mailing list