Arcgis map export or print Error: Cannot map metafile into memory. Not enough memory

 

Arcgis map export or print Error: Cannot map metafile into memory. Not enough memory

Link: https://support.esri.com/en/technical-article/000004362

Error Message

When exporting or printing a large map, the following error message is displayed.

"Cannot map metafile into memory. Not enough memory"

This prevents the output file from being created and deletes the interim Enhanced Windows Metafile Format (EMF) file.

Cause

When ArcMap prints or exports to any format, a series of 100 MB EMF files are created. Windows attempts to allocate enough memory to read each 100 MB size EMF metafile. If it cannot allocate a large enough contiguous block of memory, Windows returns a NULL or '0' EMF handle, and ArcMap displays the error message.

Memory in Windows is a combination of physical RAM and disk paging files. Memory is allocated when an application is launched, and it is released when that application is shutdown. Continuous use of applications causes fragmentation of memory and reduces the size of the largest contiguous block. Memory is slowly defragmented when the machine is allowed to sit idle, such as no processing or mouse movements.

An E-size map with raster elements, either raster data or rasterized vector objects, such as those having transparent or picture fill/marker symbology, can easily reach total temp file sizes of 2 to 4 GB. The interim EMF file used to store 2 GB of draw commands is represented as a chain of twenty 100 MB files on disk.

When creating a map of this size or larger, Windows must find at least 100 MB of contiguous (perfectly unfragmented) memory or it returns a NULL handle, and the error is triggered. Because any application or service running on the machine can fragment memory, perfectly contiguous 100 MB memory blocks become scarce after even moderate use. Preserving contiguous memory is difficult even on machines with large amounts of RAM (2048 MB and up), and plenty of disk space for the page file (4 GB and up).

Solution or Workaround

It is highly recommended to use <b>ArcGIS Pro</b> for printing and exporting, especially when experiencing issues caused by the limitations of the ArcMap display engine. More specifically, ArcGIS Pro is not restricted by the graphical device interface (GDI) limitations that some users experience in ArcMap. For example, transparency is natively supported in ArcGIS Pro, preventing the rasterization of layers. Additionally, ArcGIS Pro supports transparency in layout elements.

Note:

ArcGIS Pro does not support exporting Adobe Illustrator files; it is recommended to export using PDF or SVG instead. Also, because ArcGIS Pro does not use the Windows GDI, font substitution or fallback does not occur in ArcGIS Pro. Boxes may appear if using characters unsupported by the chosen font.

If using ArcGIS Pro is not an option, use one of the following workarounds to resolve this issue.

  • Change the output size limit setting in the registry to generate smaller temporary metafile (EMF) draw files.
    For help with modifying the temp metafile, see: How To: Modify the temp metafile size setting to optimize draw time memory use
  • Simplify and generalize the map data. Reduce the usage of raster data. Use the clip tools in ArcToolbox to generate new data that focuses on the data required for the layout.
  • Reduce the display quality of all raster layers.
    • Right-click the raster layer in the Table of Contents and select Properties
    • In the Layer Properties dialog box, select the Display tab.
    • Lower the display quality in the Display Quality slider from Normal.
    • Click OK.

  • Increase the virtual memory to the maximum usable by the Windows operating system.
    For help with changing virtual memory settings, see: How To: Change the operating system's virtual memory settings.
  • Restart the computer, and without running any other applications, immediately open and export the MXD document. Restarting releases memory allocations, and this may help export or print the map successfully.
  • Discontinue using highly-compressed raster formats, such as MrSID or ECW, which must be completely uncompressed during the output process and can consume a lot of computer resources, including paging file. See the corresponding link in the Related Information section below for more information.
  • Remove layers symbolized with transparency or BMP/picture marker symbology from group layers that are turned on and currently being displayed.
  • Eliminate transparencies, picture fill symbols, and picture marker symbols from the map. This reduces the amount of raster data in the output.
    Problem: Maps print or export blocky, chunky, low quality, or raster banded from ArcMap

Related Information

Last Published: 6/9/2018

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
很抱歉听到您遇到了问题。根据您提供的引用内容,您似乎遇到了几个与ArcGIS for Android相关的问题。 引用和引用提到了在下载com.esri.arcgisruntime:arcgis-android:100.5.0时遇到了错误。您可以尝试注释掉该依赖并删除build文件,然后重新运行以解决问题。 引用提到了在移动自有品牌手机A6上无法运行arcgis android 100.1/100.2/100.3版本,并尝试下载arcgis-android:10.2.9版本进行试用。然而,在构建失败时报错Failed to resolve:com.esri.arcgis.android:arcgis-android:10.2.9。 就您提供的错误信息"unable to run c:\program\arcGIS\Bin\ArcGISServer.exe error status:0"而言,这可能是由于ArcGIS Server安装或配置问题导致的。可能需要检查ArcGIS Server的安装状态和配置是否正确,并确保相应的文件路径和权限正确。您可以尝试重新安装或重新配置ArcGIS Server来解决此问题。 如果问题仍然存在,请确保您的环境符合ArcGIS for Android的系统要求,并检查您的依赖项配置是否正确。您还可以查看ArcGIS for Android的文档或联系Esri技术支持获取更详细的帮助和解决方案。 总结起来,您可以尝试以下步骤解决问题: 1. 如果遇到依赖下载错误,尝试注释掉该依赖并删除build文件,重新运行。 2. 检查ArcGIS Server的安装和配置是否正确,并确保相应的文件路径和权限正确。 3. 确保您的环境符合ArcGIS for Android的系统要求,并检查依赖项配置是否正确。 4. 参考ArcGIS for Android的文档或联系Esri技术支持以获取更详细的帮助和解决方案。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [解决com.esri.arcgisruntime:arcgis-android:100.5.0下载不下来](https://blog.csdn.net/u013023845/article/details/113986541)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] - *3* [Failed to resolve:com.esri.arcgis.android:arcgis-android:10.2.9](https://blog.csdn.net/shuimu_88/article/details/100651828)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值