PRB: Error "System resources exhausted" When Linking |
Q123872
Attempting to link a program with SHARE.EXE loaded can produce this error:
System resources exhausted. Abort, Retry, Fail?
LINK and NMAKE keep a large number of files open. The buffer that holds file sharing information or the number of simultaneous file-region locks exceeded the default values for SHARE.EXE.
Here are two possible workarounds:
SHARE /L:500 /F:4096If the error still occurs, continue raising the /L and /F parameters for SHARE.EXE.
This behavior is by design.
The /L parameter specifies the maximum number of file-region locks. By
default, SHARE.EXE supports up to 20 simultaneous file-region locks.
The /F parameter for SHARE specifies the size of the buffer in bytes used
to hold file sharing information. This information includes the fully
qualified path name of each open file, along with some additional overhead.
By default this buffer is 2048 bytes in size.
Additional query words: 5.10 5.13 5.15 5.20 5.30 5.31 5.31.009 1.11 1.13 1.20 1.21 1.30 1.40
Keywords : kb16bitonly kbprb
Issue type : kbprb
Technology : kbVCsearch kbAudDeveloper kbLINKSearch
|
Last Reviewed: May 4, 2001 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |