JVM Settings

The JVM (Java Virtual Machine) settings section allows you to view and configure the run options for the Banalytics VMS and RAM (Random-access memory) allocation on the server.

Example

Why do you need to configure the RAM allocation?

When executed, programs and services are assigned a specific memory per their requirements. Once the program has finished operating or is idle, the memory is released and allocated to another program or merged within the primary memory.

The minimum memory allocation limit ensures that the Banalytics VMS is started. The maximum memory allocation limits the Banalytics VMS from taking all available server's RAM, affecting other services. At the same time, you should remember that the limitation, in turn, can affect the performance of the Banalytics VMS. The maximum allocated RAM can decrease to the minimum when the Banalytics process is idling. Minimum level RAM is always allocated for the Banalytics VMS service regardless of the tasks running. The amount of RAM you'll need in the course of Banalytics VMS functioning depends on the number of cameras, running tasks, camera resolutions, and frames per second configuration.

Note: It's important to note that setting these values too high can result in performance issues or even crashes due to excessive memory usage. Therefore, it's recommended that you set these values based on your specific needs. You can assess system usage using the System Monitor.

Configuration Parameters

Value Required (Yes/No) Description Default
Minimum memory allocation Yes Minimum memory allocation. Default to 300 Mb
Maximum memory allocation Yes Maximum memory allocation. Default to 512 Mb
Native memory cleanup threshold Yes The amount of native (non-heap) memory usage that will trigger an automatic cleanup cycle. When native memory usage reaches this threshold, Banalytics initiates a cleanup to free resources. Default to 1 Gb
Max allowed native memory usage Yes The maximum native memory that Banalytics can use. If usage approaches this limit, the system will attempt to prevent further allocations or trigger protective actions to maintain stability. Default to 3 Gb
Enable memory tracking (-10% CPU) No Enables detailed tracking of native memory allocations for diagnostic purposes. When activated, it provides more granular data but may reduce CPU performance by approximately 10%. Default to No
Was this page helpful ? Yes No