# Troubleshooting Your Script

Open the browser and go to the following address to look for errors on the diagnostics page:

    https://{deviceip}/utilities/single/enterprise-connectivity/diagnostics

## Concurrency limit exceeded

Possible log error message:

-     Skipped incoming message callback due to concurrency limit

-     Skipped device result callback due to concurrency limit

By default, the maximum number of inflight script promises is limited. If you exceed this limit, the script can still create promises, but the following limitations apply:

- script callbacks are skipped (onResult or onIncomingMessage)

- concurrency limit exceeded errors are logged

- the script error count statistic is incremented

If you encounter a concurrency limit exceeded error, you can adjust the concurrency limit in the Enterprise Connectivity utility, or you can set the limit to 0 for no limit. However, setting the limit to 0 can cause the vision system to be unstable.

## Out of memory

Possible log error message:

- out of memory

By default, the maximum JavaScript heap size is limited. When the limit is exceeded, the following limitations apply:

- an out of memory error is logged

- the script error count statistic is incremented

If you encounter an out of memory error, you can adjust the maximum heap size in the Enterprise Connectivity utility, or you can set the maximum heap size to 0 for no limit, in which case the vision system is only limited by available RAM. However, setting the limit to 0 can cause the vision system to be unstable.