MXD文件过大的原因

http://support.esri.com/index.cfm?fa=knowledgebase.techArticles.articleShow&d=33187

 

Problem:  MXD file size increases significantly with subsequent saves

 

Description

 

In some cases MXD file size may increase significantly. For example:
File size may be less than one megabyte before the first save, 6.5 megabytes on the first save, 13 megabytes on the second and subsequent saves.

 

Cause

The file size increase may be caused by a large amount of geoprocessing results stored in the Results tab in ArcToolbox in ArcCatalog.

Whenever a geoprocessing tool is run in ArcCatalog, the results are stored in the Results tab in ArcToolbox which persists between ArcCatalog sessions. Conversely, when a geoprocessing tool is run in ArcMap, the results are stored in the Results tab in ArcToolbox and saved within the MXD.

The ArcCatalog Results tab cause MXDs to increase size. When ArcMap starts up, it loads the contents of ArcCatalog's ArcToolbox Results tab into ArcMap's ArcToolbox Results tab. Moreover, if an MXD is loaded into ArcMap, it also loads the Results tab stored in the MXD. When the MXD is saved, the contents of the Results tab are written to the MXD which includes the contents of the Results tab from ArcCatalog. All of the contents written to the MXD can be an issue because it is common for the Results tab to contain many geoprocessing results, potentially spanning many months, which may cause MXD 'bloat'.


 If many geoprocessing operations are performed, it is good practice to occasionally clear the Results tab in ArcToolbox in ArcMap and ArcCatalog on a regular basis. They are not cleared automatically by the application.

Solution or Workaround

 

The following steps permanently clear the Results tab in ArcToolbox. Previous geoprocessing results are available in the History toolbox, if needed. See the Related Information for more information on retrieving results from the the History toolbox.

  1. Shut down ArcMap and open ArcCatalog.
  2. Go to ArcToolbox > Results Tab. In the Results tab, look for 'Current Session' and 'Previous Sessions'. If 'Previous Sessions' is not there, go to to step 4. If 'Previous Sessions' is there, go to step 3.
  3. Right-click 'Previous Sessions' > Remove All.
  4. Open the problematic MXD in ArcMap.
  5. Click File > Save As. Save the MXD to a new name.
  6. Check to see if the problem has been resolved. If it has been resolved, do not continue with the rest of the steps. If the problem persists, go to step 7.
  7. Go to ArcToolbox > Results Tab. In the Results tab, look for 'Current Session' and 'Previous Sessions'. Right-click 'Previous Sessions' > Remove All.
  8. Click File > Save As. Save the MXD to a new name.
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值