# Error: STOP: The system is out of memory or resources

## Error Message

The avenue request 'System.Execute' may result in the following error:

STOP: The system is out of memory or resources.

## Cause

There is an extra set of double quotes inside the parentheses in the 'CommandLine' argument. This seems to be particularly prevalent when there are multiple arguments in the 'CommandLine' parameter for the request.

## Solution or Workaround

In some cases, 'System.Execute' will allow for the whole 'CommandLine' argument to be encased in double quotes. In other cases, the extra double quotes cause the error described above. To resolve this issue, remove the extra set of quotes.

For clarification on this issue, see the examples for Multi-argument 'CommandLine' and Single-argument 'CommandLine' below:

• Multi-argument 'CommmandLine'

Example 1:

Code:System.Execute("C:\temp\test.exe /O")

Note:This works fine.

Example 2:

Code:arg1 = "C:\temp\text.exe /O"System.Execute(arg1)

Note:This works fine.

Example 3:

Code:arg1 = "C:\temp\test.exe /0"arg2 = arg1.quoteSystem.Execute(arg2)

Note:This causes the error.

• Single-argument 'CommmandLine'

Example 1:

Code:System.Execute("C:\temp\test.exe")

Note:This works fine.

Example 2:

Code:arg1 = "C:\temp\text.exe"System.Execute(arg1)

Note:This works fine.

Example 3:

Code:arg1 = "C:\temp\test.exe"arg2 = arg1.quoteSystem.Execute(arg2)

Note:This works fine.