How To: Modify the temp metafile size setting to optimize draw time memory use
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.
To force ArcGIS to create smaller temporary files, change the output temporary file size setting to a lower value.
- Close ArcMap.
- Navigate to Start > Run, type regedit, and click OK. Click Yes if asked to allow Registry Editor to run.
- Expand HKEY_CURRENT_USER\Software\ESRI\Desktop10.x\Display.
Note: The 'x' in the registry path name represents the version of the software installed. In older versions of ArcGIS, the path name is HKEY_CURRENT_USER\Software\ESRI\Display.
- Navigate to Edit > New > DWORD Value.
- Enter OutputSizeLimit as the key name, and press Enter.
- Double-click OutputSizeLimit to enter a Data value.
- Click the Decimal radio button in Base, and enter the following value: 32000000.
- Click OK; the Data value is displayed as 0x01e84800 (32000000).
- Close the Registry Editor.
- Restart ArcMap or any other ArcGIS application.
- FAQ: Can HKEY_CURRENT_USER be edited in the registry for a restricted user profile, when logged in as the administrator?
- FAQ: What is the preferred method for exporting and printing items in ArcMap?
Last Published: 1/26/2018
Article ID: 000009571
Software: ArcGIS Desktop (all license levels) 9.3.1, 9.3, 9.2, 9.1, 9.0, 10 ArcGIS Engine Runtime 9.3.1, 9.3, 9.2, 9.1, 9.0.1, 9.0, 10.6, 10.5.1, 10.5, 10.4.1, 10.4, 10.3.1, 10.3, 10.2.2, 10.2.1, 10.2, 10.1, 10 Desktop 10.6, 10.5.1, for Desktop 10.5, 10.4.1, 10.4, 10.3.1, 10.3, 10.2.2, 10.2.1, 10.2, 10.1 ArcMap 10.5.1, 10.5