Re: jcifs.smb.SmbException: 0xC0000205
Michael B Allen <[email protected]>
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <CAGMFw4gRwqu5AM+hHJn1Rydyp4DihtnXiy3KLbwMBS60rkQV6w@mail.gmail.com> |
On Mon, Jun 25, 2012 at 2:40 AM, Yatin Baraiya <[email protected]> wrote: > Hy John McCarthy > > I am having an same issue on a Windows Server 2008 R2 32-bit system where > sometimes I get SMB Error 0xC0000205 when the following java code is executed > > SmbFile dir = new SmbFile(remotePath + "yatin"); > > if (dir.isDirectory()) > { > String fileList[] = dir.list();//this code line will throw the Exception > } > > Error printstrace: > > jcifs.smb.SmbException: 0xC0000205 Hi Baraiya, NT STATUS code 0xC0000205 is: Insufficient server memory to perform the requested operation. So it seems your server is simply low on memory for some reason. Note that if you are using multiple threads or running something in a loop, make sure *your* code is not responsible for exhausting the servers memory! Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/