System out of memory, executable file corrupt, or relocations invalid for . . . \mxtools.dll

Last Published: April 26, 2020

Error Message

When starting ArcMap, the following error message may occur:

"System is out of memory or executable file is corrupt or relocations are invalid c:\arcexe80\bin\Mxtools.dll"


There may be old versions of gswdll32.dll and gswag32.dll in c:\winnt\system32.

Solution or Workaround

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.
  1. Search the computer's local hard drives for gswdll32.dll and gswag32.dll. Each file should be found in \winnt\system32 and \arcexe80\support\Graphics Server.
  2. Rename the copies of gswdll32.dll and gswag32.dll found in \winnt\system32 to gswdll32dll.old and gswag32dll.old, respectively.
  3. Copy gswdll32.dll and gswag32.dll from \arcexe80\support\Graphics Server to \winnt\system 32.
  4. Reboot the computer and register Mxtools by issuing the following command at a DOS prompt:
    regsvr32 c:\arcexe80\bin\mxtools.dll

Article ID:000002673

  • ArcMap 8 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options