Thanks for pointing this out. Even I fixed the code to close the "fsDir" and also add
the ex.printStackTrace(System.out), I am still hitting the OutOfMemeoryError.
Terence
> On Wednesday 18 August 2004 00:30, Terence Lai wrote:
> > Â Â Â Â Â Â if (fsDir != null) {> Â Â Â Â Â Â Â Â try {> Â Â Â
> Â Â Â Â Â Â Â is.close();> Â Â Â Â Â Â Â Â } catch (Exception ex)
> {> Â Â Â Â Â Â Â Â }> Â Â Â Â Â Â }
> You close is here again, not fsDir. Also, it's a good idea to never ignore
> exceptions,
> you should at least print them out, even if it's just a close() that fails.
> Regards Daniel
> -- http://www.danielnaber.de
>
----------------------------------------------------------
Get your free email account from http://www.trekspace.com
Your Internet Virtual Desktop!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]