Crispin Miller <[EMAIL PROTECTED]> writes:
> The following small program grows in size:--->
>
> *
> while(true) {
> System.out.println(i + " ");
> i++;
> System.out.flush();
> System.gc();
> }
A closed loop like this one will not let the gc thread in to do its
work. Try to run the program in its own thread or issue a yield() or
sleep() in the loop.
--
Jan-Henrik Haukeland
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]