Configure Memory Settings
To change memory allocation settings for Composer microservices:
From your terminal, SSH to your Composer server.
To modify the memory settings for Composer microservices, you need to edit or create the corresponding
.jvm
files in/etc/zoomdata/
. Perform the following steps:vi/etc/zoomdata/<component_name>.jvm
For complete information on editing configuration files, see Edit a Composer Configuration File.
Add or update the following line(s) in the corresponding
.jvm
files.Do not allocate more than 85% of your total system memory to all microservices.
The following example configures the Composer server to use 20 GB of RAM in the
zoomdata.jvm
configuration file. You can adjust the number to fit your system's needs. Replace the 20 with the necessary memory allocation for your operating environment.-Xms20g
-Xmx20g-
Save and exit the
.jvm
file. Restart the microservice for which you have modified the settings:
For CentOS 7 Ubuntu 18 or 20:
sudo systemctl restart <service-name>
Wait a few minutes for the microservice to restart completely, then open a new browser window to log back into Composer.
Comments
0 comments
Please sign in to leave a comment.