Maximum number of stacked commands reached

Last Published: April 25, 2020

Error Message

During an SML process, the message "Maximum number of stacked commands reached" appears.


PC ARC/INFO supports up to nine levels of SML nesting. If this limit is exceeded, this message will appear.

The message also will occur if a POPUP SML calls itself. If a loop is used, once the POPUP calls itself after the ninth time, the program will halt with the message.

Solution or Workaround

The SML program flow must be modified to avoid exceeding nine levels of nesting.

Article ID:000005556

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic