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

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
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".
This problem occurs because the cache manager cannot allocate any more memory for the file caching.
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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Article ID: 913872 - Last Review: 12/09/2015 04:32:15 - Revision: 1.0

Microsoft Windows XP Professional, Microsoft Windows XP Home Edition

  • kbnosurvey kbarchive kberrmsg kbtshoot kbprb KB913872