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".
Back to the top
This problem occurs because the cache manager cannot allocate any more memory for the file caching.
Back to the top
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.
Back to the top
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Back to the top