>
<snip>
>
> The objective of this program is to fill the computer RAM and swap area but,
> suddendly, when it crashes with a java.lang.OutOfMemoryError there are
> 66000 KB of free RAM (on a 96MB computer).
>
> I tried the jdk117_v3, but I obtained the same result.
> I also turned off the JIT compiler.
>
> Here is the command line:
>
> $ /usr/local/jdk117_v3/bin/java -classpath
> .:/usr/local/jdk117_v3/lib/classes.zip -Djava.compiler=NONE crashMe
>
> In my computer the above program crashes at iteration n. 525.
> If I allocate StringBuffer(1000000) (one million) it crashes after
> four iterations.
>
> What's the problem?
>
> Luigi Giuri
>
I compiled the program and tried it myself (java.compiler=tya). It
crashes at iteration 525 with **Out of memory, exiting**. I'm using
jdk117_v3 (64 MB RAM).
--
Matthias Carlsson [EMAIL PROTECTED]
Web Designer / Programmer UIN: 1430647
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]