The SMC server memory allocation is calculated automatically during the SMC installation based on the physical memory available on the host. After the installation, the allocation can be changer per SMC server by using the AutoAssignHeap script, or by manually defining the allocation.
Note SMC memory requirements have increased in SMC 6.8. For more details, see the SMC Memory Management article.
High-end server memory allocation
On high-end servers with more than 16 GB of memory, the maximum memory allocation for each server can be increased manually. If this isn't done, the allocated memory may become a limiting factor when high-performance SMC operation is required.
Note The Sum of memory allocation for all SMC processes must remain below the total available memory while preserving memory for the operating system.
SMC 6.8.3 and higher version Management servers
- Stop the Management Server
- Open the <installation_directory>/data/smc_starter.xml file for editing
- Change the value for the MAX_MEMORY_IN_MB parameter value
- Save the change and start the server
Note <installation_directory> may be c:\ProgramData on Windows when SMC was installed to the c:\Program Files path.
SMC 6.8.2 and lower version Management Servers
- Stop the Management Server
- Open <installation_directory>/data/smc_starter.xml
- Change the value for the parameter MANAGEMENT_MAX_MEMORY_IN_MB (default: MANAGEMENT_MAX_MEMORY_IN_MB="4000")
Note <installation_directory> may be c:\ProgramData on Windows when SMC was installed to the c:\Program Files path.
SMC 6.8.3 and higher version Log Servers and Web Portal Servers
- Stop the Log Server or the Web Portal Server
- Open <installation_directory>/data/log_starter.xml (Log Server) or <installation_directory>/data/web_starter.xml (Web Portal Server)
- Change the value for the parameter MAX_MEMORY_IN_MB
- Save your change and start server
Note <installation_directory> may be c:\ProgramData on Windows when SMC was installed to the c:\Program Files path.
SMC 6.8.2 and lower version Log Servers and Web Portal Servers
- Stop the Log Server or the Web Portal Server
- Open <installation_directory/bin/StartLogSrv.sh (Linux) |.bat (Windows) with a text editor
- Look for the line starting with MAX_HEAP_SIZE and edit this value to modify the maximum memory allocation. For example to modify the heap size to 6 Gb:
MAX_HEAP_SIZE=6144
- Save the changes and start the server
Note <installation_directory> may be c:\ProgramData on Windows when SMC was installed to the c:\Program Files path.
Memory allocation using the AutoAssignHeap script
Note The maximum memory allocation for SMC servers with the AutoAssignHeap script is 8 GB, even when SMC is installed on a high-end server with large amount of RAM.
To recalculate memory allocation for SMC processes after adding memory to server, follow the steps below:
- Stop all SMC servers
- Open a command line session to the SMC host
- Perform the following:
- On Microsoft Windows:
- Navigate to the <installation_directory>/bin/install folder
- Type AutoAssignHeap.vbs and press Enter
- On Linux:
- Navigate to the <installation_directory>/bin/install folder
- Type ./AutoAssignHeap.sh and press Enter
- Start all SMC servers
Note Prior to SMC version 6.4.1, the memory allocation will be reassigned during an SMC software upgrade and you must repeat any customization done for Log Server of Web Portal Server after the upgrade. Starting from SMC version 6.4.1, the custom MAX_HEAP_SIZE memory allocations are preserved on upgrade. The smc_starter.xml file used by Management Server is not touched on upgrade in any version.
Keywords: Security Management Center; SMC server; configuration file; command line; memory allocation; HEAP size; amount of RAM; out of memory; low memory