Vai al contenuto

Diagnostics with System Variables

As regards the data on occupation of system resources to check eventual anomalies and assess corrective measures, a series of system indicators is available. These indicators supply information on the occupations of run time memory available for all the system targets. The data concerns the following resources:Occupation of Dynamic RAM (DRAM)Occupation of Static RAM (SRAM)Occupation of Hard Disk (DISK)The following data is available for every type of resource:Memory available (bytes)Memory in use (bytes)Maximum peak of memory used (bytes)For DRAM, SRAM and DISK resources, if the amount of memory used exceeds 90% of the memory available, the system automatically generates a LOG file. The name of the log file generated on the target will be SYSERRxxxxx.log, where xxxxx is the date/time (hh/mm/dd hh:mm:ss) of creation of the fileSystem Variables – Dynamic RAM (DRAM)
Var. nameDescription
GPV_MEMTOPDRAM memory installed (KB)
GPV_MEMUSEDDRAM memory instantaneous in use (KB)
GPV_MEMMAXDRAM memory used from power-on or target reboot (KB)
GPV_MEMBLOCKMAXMax DRAM contiguous memory used from power-on or target reboot (KB)
Notes:The suggested free DRAM value available to a project must be 25% of the total installed memoryE.g.: GPV_MEMMAX < GPV_MEMTOP * 0.75To check the real value of GPV_MEMMAX used by a project, it is advisable to scroll through all the applicative pages to allow the system to allocate all the memory needed for operation.System Variables – Memory used by User Pages
Var. nameDescription
@@PAGES_MEMTOPTotal memory available for pages (exclude images)
@@PAGES_MEMUSEDInstantaneous memory used for pages
@@PAGES_MEMMAXMemory used for pages, from power-on or target reboot
Notes:The part of the memory allocated by the Java page starts from the system DRAMIf necessary, it is possible to increase the DRAM value available, reducing the value configured for the Java part (MEMTOP)The memory value for the part of the Java pages can be altered from the “Option” panel.The suggested value of MEMUSED is <= 50% of MEMTOPTo checks the value of MEMUSED, it is necessary to consider that it can be conditioned by the complexity of the graphic part and by the management of memory controlled by Java VM. Consequently it is necessary to monitor its value under different conditions of use and at different times.System Variables – Static RAM (SRAM)
Var. nameDescription
GPV_SRAMTOPSRAM memory installed (KB)
GPV_SRAMUSEDSRAM memory in use (KB)
Notes:The SRAM required by a system is fully allocated during the system start, so no peak values are available.System Variables – Hard disk (DISK)
Var. nameDescription
GPV_DISKTOPDisk dimension installed (KB)
GPV_DISKUSEDDisk instantaneous dimension in use (KB)
GPV_DISKMAXMax DISK dimension used from power-on or target reboot (KB)
Notes:The suggested free DISK value available to a project must be 25% of the total installed DISKE.g.: GPV_DISKMAX < GPV_DISKTOP * 0.75