show_mem
Purpose:
-
Display the available and used memory sizes for common shared memory areas allocated for CyFlex variables, including usage statistics and warnings if memory approaches limits.
Enter:
-
show_mem [+v]
Where:
-
+v Optional. Specify this flag to enable verbose output and show details of reserved variables.
Example:
-
Output of show_mem below:
memory area allowed resvrd actual k-used/available sema
user real variables 2500 0 90 30 / 839 210 user integer variables 800 0 11 3 / 231 1 user logical variables 2000 0 178 80 / 906 2 user string variables 500 0 25 9 / 187 3 user statistical variables 128 2 2 / 175 1 computed expressions 1000 87 103 / 1187 0 limits 1000 0 0 / 2511 1 cal_tables 256 108 786 / 1865 alias variables 200 104 23 / 45 0 real array variables 10 1 4 / 48 0 integer array variables 10 0 0 / 48 0 logical array variables 10 0 0 / 50 0 string array variables 10 0 0 / 48 0 saved_data in /data/save_parameters 256 0
Total memory allocated for variables/tables = 8140[k-bytes]
Using 292 events of the 1000 allowed – 29
The maximum number of variables is set by command line arguments on the ‘sys_start’ command in the ‘go.scp’ file. Type ‘use sys_start’ to see the available options.
To change the maximum allowed, modify the sys_start command line in the /cell/go.scp file and do a new ‘go’ when the test system is in a safe condition (engine or test object not running).
Notes:
-
Warnings are issued if memory usage exceeds 90% of allocated limits. Reserved variables are reused by the same owner and cannot be recreated by another.