Inability to Open Files May Be Caused by Bad Registry Key

Last reviewed: December 3, 1997
Article ID: Q156316
The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5 and 3.51
  • Microsoft Windows NT Server versions 3.5 and 3.51

SYMPTOMS

When the size of the Windows NT PagedPool or NonPagedPool memory resources is set to improper values, it may not be possible to copy or open "large" files. Further, attempts to open large files may result in file corruption.

MORE INFORMATION

If the values of the PagedPoolSize or NonPagedPoolSize parameter in the system registry is incorrectly specified, various Windows NT kernel mode components may be unable to allocate sufficient memory to function normally. These values are located in the following registry key:

   \SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Ordinarily, the value of these parameters is set to zero, which indicates that Windows NT should compute default values for resource allocation. Nonzero values override the default computation, and should be avoided in most circumstances. Please remember that any value entered is a hard limit. This means that these values can be used to only limit memory to a SMALLER value than the automatic system calculation, these values cannot ever be used to increase the memory setting. So in all situations there is no reason to ever enter non zero values. This is because the optimal settings will depend on the amount of memory actually installed.

For additional information about these registry parameters, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q126402
   TITLE     : PagedPoolSize and NonPagedPoolSize Values in Windows NT 3.5

When an application opens a file, Windows NT file systems must be able to allocate a certain amount of memory to keep track of various information about the file on behalf of the application. In general, the larger the file, the more memory will be required. Therefore, in low memory situations, attempting to open or copy a large file may fail, while it is still possible to open or copy smaller files.

In extreme cases, file system corruption can even take place if memory settings are incorrect. This file corruption is not likely to take place on a correctly configured system, even in very low memory situations. Rather, when the PagedPoolSize and/or NonPagedPoolSize parameters have been set to inappropriate nonzero values, other internal resource allocations may be "thrown off," resulting in the potential for corruption.


Additional query words: cannot won't don't transfer read prodnt
Keywords : ntconfig ntfilesys ntregistry NTSrvWkst kbenv
Version : 3.5 3.51
Platform : winnt
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.