English

Error: Program stack exhausted

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