Most users won’t hit this limit and shouldn’t worry about it until they do.  However a handful of our users processing extremely massive surfaces have reported an error message like “System.OutOfMemoryException” and/or “Array dimensions exceeded supported range”.

In the event that this occurs, you will need to make a minor revision to a supplied file with your CAD engine.  If you don’t feel comfortable with this type of operation seek help from your IT support.  The file to edit is ascii and lives in the CAD engines primary folder.  It’s quite small and you can use notepad to edit it.

First backup the file:

  1. Close all sessions of your CAD engine.
  2. Open Windows Explorer and navigate to the CAD engines primary folder, for example in a recent AutoCAD it should be “C:\Program Files\Autodesk\AutoCAD 2019”.
  3. Look for a small file with the same name as the CAD engine, that has a “.config” at the end, like “acad.exe.config”.
  4. Select the .config file, Right Click and choose Copy.
  5. Right click outside the data columns (just before the scroll bar) and choose Paste.  This creates a file with a name like “acad.exe – Copy.config” that you can use if needed.

Next modify the file:

  1. Select the original .config file, Right Click and choose Open With > Notepad.
  2. In the <runtime> section add the following on a line of it’s own.
    <gcAllowVeryLargeObjects enabled=”true” />
  3. From the File menu, choose Save.

For comparison, here is a file modified for AutoCAD 2018.


<startup useLegacyV2RuntimeActivationPolicy="true">
 <supportedRuntime version="v4.0"/>

<!--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence-->
 <gcAllowVeryLargeObjects enabled="true" />
 <generatePublisherEvidence enabled="false"/>

 <add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />

When you restart your CAD engine, loading the massive files should succeed.

Comments are closed.

Post Navigation