English

How To: Modify the temp metafile size setting to optimize draw time memory use

Summary

Instructions provided describe how to change the size of the output temporary metafile Enhanced Windows Metafile Format (EMF) that is generated. The default value and the value used when this registry entry is absent is hex 6400000 (decimal 104,857,600). To force ArcMap to create smaller temporary files, create a registry entry containing a value lower than decimal 104857600. Decimal 32000000 is a good alternative.

Smaller temporary metafile sizes can alleviate "Cannot map metafile into memory. Not enough memory" errors experienced during printing or exporting in ArcGIS.

Warning:
The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
Warning:
The following procedure alters the printing and export behavior of ArcMap and other ArcGIS applications, and should only be performed by advanced users.  Take caution when setting the values described here, since incorrect values for these settings can cause all printing and exporting from ArcMap to fail.

Procedure

To force ArcGIS to create smaller temporary files, change the output temporary file size setting to a lower value.
 

  1. Close ArcMap.
  2. Navigate to Start > Run, type regedit, and click OK.
  3. Expand HKEY_CURRENT_USER\Software\ESRI\Display.
  4. Navigate to Edit > New > DWORD Value.
  5. Enter OutputSizeLimit as the key name, and press Enter.
  6. Double-click OutputSizeLimit to enter a Data value.
  7. Click the Decimal radio button in Base, and enter the following value: 32000000.
  8. Click OK; the Data value is displayed as '0x01e84800 (32000000)' without quotes.
    [O-Image] OutputSizeLimitRegEditScreen32MB
  9. Close the Registry Editor.
  10. Restart ArcMap or any other ArcGIS application.

Related Information