Memory Used by CrimeStar

 

To optimize performance CrimeStar can consume as much memory as your computer has available for it to use, it may at times be necessary to throttle or regulate the maximum amount of memory that CrimeStar is allowed to consume.

 

Adjusting this setting may impact system performance.

 

CrimeStar will detect the presence of the "MEMORYFOREGROUND" and "MEMORYBACKGROUND" values in the CONFIGURATION section of the crimestar.ini file. It will use these values to calculate the maximum amount of memory it is allowed to allocate to its buffers. The MEMORYFOREGROUND setting is used to regulate the maximum amount of memory that the program is allowed to consume when running in the foremost window (Foreground), while the MEMORYBACKGROUND setting is used to regulate the maximum amount of memory that the program can allocate when running in the background or minimized. The values given to these settings are represented as Kilobytes (thousands of bytes) of memory, so 1=1000, 10=10000 etc. For example, if we want to allow CrimeStar to have up to 128 megabytes of memory when running in the foreground and up to 64 megabytes of memory when running in the background. We would add 2 entries to CONFIGURATION section of the crimestar.ini file as follows:

 

MEMORYFOREGROUND = 128000

MEMORYBACKGROUND = 64000

 

Adjusting these setting higher allows CrimeStar to utilize and consume more of your computer's memory and may subsequently allow CrimeStar to operate faster, while leaving fewer memory resources for other programs or computer operations (such as printing etc.). Lowering these values will restrict the consumption of your computer's memory by CrimeStar and may cause CrimeStar to operate a bit slower, however it frees more memory for your computer to use to run other programs and perform other functions.

 

The default setting is 0 (Zero) which instructs CrimeStar to use as much memory as it needs, up to the maximum amount of memory available in the CrimeStar memory pool. CrimeStar will not permit you to specify a value less than 256 (256K) for either of these settings. Therefore adjusting these settings to a value between 1 and 256 will result in a setting of 256 (256K).