CA Service Management

CA SDM::.SPEL::. set_ilimit() 

Mar 03, 2017 12:42 PM

Overview

 

The functionality will setting a maximum instruction limit for interpreter, it has a maximum instruction limit in order to avoid infinite loops. After executing the maximum number of instructions without completing, the interpreter returns a timeout error. The limit default is 100000, which can be reset inside a function to any value up to 2^31 (2147483648)

 

What is standard limit? It was defined on NX.ENV on NX_SURVEY_ILIMIT parameter from 500 to greater than 100000 or the maximum value 2147483648.

Usage

 

Results

 

Examples

 

 

 

set_ilimit(int)

Control Function

 

 

Example code:

 

set_ilimit (10000000);

 

 

Warning! Long loops can cause performance issue!

By Timur on comment

Know more TEC511829

 

 

 

 

Where can I find Spel functions documentation? 

Statistics
0 Favorited
7 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.