[jcifs] Strange issue with SmbFileInputStream

Caldarale, Charles R Chuck.Caldarale at unisys.com
Thu Jan 28 07:18:28 MST 2010

> 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

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 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