[jcifs] Strange issue with SmbFileInputStream

René Liebmann rene_liebmann at datamatics.de
Thu Jan 28 07:46:03 MST 2010

Thanks Chuck, can you please explain what you mean by "predefined limit"?


-----Ursprüngliche Nachricht-----
Von: jcifs-bounces at lists.samba.org [mailto:jcifs-bounces at lists.samba.org] Im
Auftrag von Caldarale, Charles R
Gesendet: Donnerstag, 28. Januar 2010 15:18
An: jcifs at lists.samba.org
Betreff: Re: [jcifs] Strange issue with SmbFileInputStream

> From: jcifs-bounces at lists.samba.org [mailto:jcifs-
> bounces at lists.samba.org] On Behalf Of René Liebmann
> Subject: Re: [jcifs] Strange issue with SmbFileInputStream
> The reason is an OutOfMemoryError, which in fact should not be

And, in fact, it's not.  The OOME exception is somewhat of a catch-all, in
that the JVM will use this whenever any number of resources are exhausted,
not just when the heap is full.  The problem here is that the OS is refusing
to start another thread, either because you've reached a predefined limit,
or you've run out of non-heap space in the process to contain the control
structures for the new thread.

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.

More information about the jCIFS mailing list