ERROR

Program stack exhausted

Last Published: April 25, 2020

Error Message

When using the PLOT command on a map composition, the application returns the error:"Program stack exhausted"

Cause

A complicated or complex map composition may be overwhelming the stack used to store the plot elements, before they are sent to the plotter.

Solution or Workaround



  • Set the following DOS variable before issuing the PLOT command:

    Code:
    SET TNT=-stack 512000


  • Redirect the output to a file and then copy it to the port. Use the following code to do this.

    Code:
    PLOT mapcomposition # # 0 > test.plt COPY test.plt LPT1

Article ID:000005470

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic