You receive error 1450 "ERROR_NO_SYSTEM_RESOURCES" when you try to create a very large file in Windows XP (913872)



The information in this article applies to:

  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition

SYMPTOMS

Consider the following scenario. You try to create a very large file in Microsoft Windows XP by moving the file pointer to the end of a file. Then you call the SetEndOfFile function. In this scenario, the SetEndOfFile function fails with error 1450 "ERROR_NO_SYSTEM_RESOURCES".

CAUSE

This problem occurs because the cache manager cannot allocate any more memory for the file caching.

WORKAROUND

To work around this problem, open the file by using the FILE_FLAG_NO_BUFFERING flag. Then try to call the SetEndOfFile function until the SetEndOfFile function succeeds.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MajorLast Reviewed:3/9/2006
Keywords:kberrmsg kbprb kbtshoot KB913872 kbAudDeveloper kbAudITPRO