You try to save a document library, list, or site as a template in a SharePoint 2007 environment. However, the operation fails and you receive any of the following errors:
- "Server Out Of Memory. There is no memory on the server to run your program. Please contact your administrator with this problem".
- "Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))"
You have verified that the server has available memory.
Note: The "real" maximum value is '2147483647' and not '2147483648'.
It is highly recommended that you balance the chunk size property between the default of 5 MB (5,242,880 bytes) and 2 GB (2,147,483,646 bytes) to avoid running into memory issues.
For example, run the following command to set the large-file-chunk-size property to 1,073,741,824 bytes (1024 MB)
Stsadm -o setproperty -pn large-file-chunk-size -pv 1073741824
After making a change to this property, perform an IISreset by typing IISreset at a command-line prompt.
To view the current setting of the large file chunk size property, use the following syntax:
Stsadm -o getproperty -pn large-file-chunk-size –url http://server_name
Stsadm -o getproperty -pn large-file-chunk-size
Article ID: 2672009 - Last Review: Feb 13, 2012 - Revision: 1