Select to view content in your preferred language

Troubleshooting Slow Performance in ArcGIS for Desktop

63532
4
06-07-2012 02:02 AM
Labels (1)
LucasDanzinger
Esri Frequent Contributor
5 4 63.5K
bulb_yel-11-e1340840911868.pngA common question that I see in Desktop Support is “Why is ArcMap performing so slowly?” This can be a particularly tricky question as the answer depends on so many factors. For some, the answer is related to having a DEM with ½ centimeter accuracy turned on for the entire contiguous U.S., along with parcels, hydrology, streets network, and land use data for an entire county, with a 50% transparency set to each layer. Of course this example is an exaggeration, but it is true that we (myself included) expect our computers to handle whatever we throw at them and still get optimal performance. While the solution to the question can sometimes be to reduce the amount of layers ArcMap needs to draw, there can be times where the analyses that we are running are completely reasonable and the performance that we are experiencing is not. Here are several troubleshooting steps that resolve a lot of performance related issues that I see in Desktop Support.

  1. Reboot your machine. I, too, am a victim of leaving my machine on for days on end. This can cause applications and processes to pile up in the Task Manager and, because of this, we can expect slow performance. It is best to start with a clean slate and reboot the machine.
  2. Do you meet the minimum requirements? Some users upgrade from version 9.3 to version 10 without checking this, and later realize they don’t meet the RAM or video card requirements. The "Can you run it utility" will scan your machine and tell you if it's up to the task.
  3. Is the behavior MXD specific? If you are experiencing unexpected behavior, the issue may be related to the MXD. To test this, open another instance of ArcMap next to your existing MXD and drag and drop your layers into the new MXD. Test to see if the behavior persists. You can also try using the MXD Doctor. This will analyze your MXD for corrupt objects and will generate a new copy of your MXD. You can find this at Start > All Programs > ArcGIS > Desktop Utilities > MXD Doctor.
  4. Is the behavior data specific? Similar to MXD issues, performance issues can be related to shapefiles, feature classes, or other data. Test to see if the issues persist with other datasets. If they do not, it may be data specific. Try exporting your feature classes out to a new location and test your workflow on this copy of the data.
  5. Does this happen on other machines? While this suggestion won’t actually resolve any issues, it is helpful in narrowing down the problem. If everyone in your organization is having issues, it is most likely data, MXD, or network specific issues. If you are the only one, you know it is something with your configuration.
  6. Does this happen if you log into the machine with a different Windows User Profile? This sounds bizarre, but ArcGIS for Desktop relies heavily on your Windows User Profile, so once in a while, these can become corrupt and you may need to consider creating a new profile.
  7. Does this happen with local data? If you are working with shapefiles or file/personal geodatabases on your network, try exporting them to your C drive. If the issues leave, it may very well be a network issue. In this case, you will want to talk with IT to discuss potential causes and solutions. If you are using SDE data and you export to a local file geodatabase and it resolves the issue, you will want to look into your SDE connection.
  8. Rename your Normal templates.The normal template is the template that is automatically loaded from your user profile every time you launch ArcGIS for Desktop. It contains the UI customizations you have made, including toolbars, buttons, window placements, and more. These templates can become corrupt, so by renaming them, you will prompt the software to generate a new, default normal template. Here is how to rename your normal template in version 10:
    1. Close ArcCatalog and ArcMap.
    2. Navigate to root %userprofile%\AppData*\Roaming\ESRI\Desktop10.0\ArcMap (*if hidden go to the Tools folder options view).
    3. Open the Templates folder.
    4. There will be a "Normal.mxt" file. Right-click on that file, and rename it to something besides Normal. Then re-start ArcMap.
    5. ArcCatalog and ArcToolbox also have normal templates. If need be, navigate to their respective folders and rename their normal templates as well.
  9. Are you up to date on Service Packs? You can find an updated list of service packs and patches on our Resource Center.
  10. Is your My Documents folder stored to your C drive? Some organizations map out their My Documents folders to their network. This can be problematic with ArcGIS for Desktop 10.x, as several files and folders that ArcMap relies on are stored here, including the Default.gdb. Talk with IT to see if you can get your My Documents folder redirected to your local drive.
  11. Check for any 3rd party tools. There are a lot of great third party extensions out there, but unfortunately, we do not test or certify against them. Some can occasionally cause conflicts, so it is worth uninstalling these to see if the behavior persists. If it does, you may want to consider logging a support request with that third party company to see if it is a known issue. Here are a few places to check for hidden 3rdparty tools on your machine:
    1. All programs and features in the Control Panel.
    2. Look through the list of all toolbars in ArcMap (Open ArcMap > Customize > Toolbars)
    3. Look through the list of all extensions in ArcMap (Open ArcMap > Customize > Extensions)
    4. Look in the Add-In Manager (Open ArcMap > Customize > Add-in Manager)
  12. Are you using continual scan anti-virus? Try temporarily disabling a continual scan anti-virus, as this can cause performance issues in ArcGIS for Desktop.
  13. Do you have any drivers that need updating?
    1. Open Control Panel > Device Manager.
    2. Expand Display Adapters.
    3. Right click the adapter below this > Properties.
    4. Go to the Driver tab > Update Driver > Search Automatically.
    5. If you can upgrade, then install the newer driver.
  14. Redirect your temporary folders and optimize your Virtual Memory:
    1. Navigate to Start > Settings > Control Panel > System (Advanced System Settings) > Advanced tab > Environment Variables.
    2. For both TEMP and TMP, you will likely see a value such as C:/Users/<username>/AppData/Local/Temp.
    3. If so, edit each so that they equal "C:/Temp", without the quotes.
    4. Click OK to close the Environment Variables window.
    5. Under performance, click Settings.
    6. Click Advanced.
    7. For Virtual Memory, select Change.
    8. Select System managed size > OK.

Again, keep in mind that there are limits on what we can realistically expect the software to do. If the above steps don’t resolve your performance issues, you may want to consider logging a request with Support Services and we’d be more than happy to continue testing from there.Lucas D. - Desktop Support Analyst
4 Comments
MathieuBoonen
Regular Contributor

I have noted that via Arc Catalog 10.5.1 if you add file addiitonal types such as .geodatabase or .xlsx, xls or .mxd so these are manageable and viewable from Arc Catalog this creates a huge hit on ARCGIS's performance in all sorts of areas, from saving, to printing from within Arcmap . I realised this was an issue in Arcgis a few versions ago but would have thought it was fixed by now. Anyone know how to improve this and also keep the file types known by Arc Catalog?

Thanks

Mat

LukeMcCarthy
New Member

Hey Lucas,

I followed a lot of your steps in attempt to speed up processing time of clipping rasters in Arc. Something happened when I redirected the temporary folder path, step 14, I lost important files in my temp folder. I tried doing a system restore but couldn't recover the files. Do you know any way I could revert back to the old temp folder path and restore those files? I searched my entire computer for the files and they're just gone.... I hope you can help.

Thanks.

LM

LucasDanzinger
Esri Frequent Contributor

Hi Luke-

From my experience, changing the system temp folder shouldn't delete any temp files - it should just redirect where new temp files are placed. The reason this step is useful is because some IT groups set up machines to store temp files on a network drive somewhere, which can often times introduce a lag in what should be a small and simple I/O operation. By changing that to a local drive like C:\Temp, that'll make sure it is a quick local I/O operation without any network overhead.

Unfortunately, I don't have a lot of great suggestions on how to determine what it was set to before, other than to check with your IT team to see where the default location is for your organization. You could also check with coworkers to see what their system's default location is, and then try to go to a similar location on your system. If your IT team does not do anything special, the typical default is C:\Users\<your_username>\AppData\Local\Temp.

Side note - I know this doesn't help you at this point, but for future reference, I'd also suggest not storing anything of high importance in the system temp directory, as these files are typically subject to getting automatically cleaned up by whatever developer/application created them. I don't believe windows itself will go clean the directory automatically, but applications that created temp files might delete those temp files at a given interval, so it's probably best practice to only leave things in the Temp directory that can be cleaned up at any time.

I hope this helps.

-Lucas

LukeMcCarthy
New Member

Thanks for the response Lucas. I am not with a company but am an independent contractor so IT can't help. I have no idea why those files were lost when redirecting temp path but they were. I really appreciate the advice.

LM

About the Author
I'm a Geographer working in Product Development at Esri, focusing my time on the ArcGIS Runtime SDKs. I'm an Esri Certified ArcGIS Desktop Professional (10 years experience working with ArcGIS) with a wide range of technical skills including native application development, spatial databases, desktop/web GIS, and scripting. My Master's degree is in GIS with a focus in Natural Resource Management. Currently, I'm most interested in building cross-platform and lightweight apps using our ArcGIS Runtime SDK for Qt.