Tomcat Memory Configuration

(This is an additional step, which has to be done depending on your server hardware capability)

As the number of users and their connections in your environment increase, the amount of Java Virtual Machine (JVM) heap memory consumed on your servers will also increase. This guide explains how to increase the amount of memory allocated to your environment's JVM heap space.

Notes:

Reference Values for Tomcat Heap Memory Configuration depending on your server memory :

Note : The below reference values apply to application server

Heap Memory ConfigurationSmall Teams Medium TeamsLarge Teams
< 50 Users< 500 Users500+ Users
MinRecommendedMinRecommendedMinRecommendedHigh End
Memory8 GB16 GB16 GB24 GB24 GB32 - 64 GB64 GB
Tomcat Heap Memory-Xms2g -Xmx4g-Xms4g -Xmx8g-Xms4g -Xmx8g-Xms8g -Xmx12g-Xms8g -Xmx12g-Xms8g -Xmx16g-Xms8g -Xmx30g


Execute the following commands on your server to increase memory size.

MySQL Configuration

MySQL configuration below is the default and for verification only. It is auto-configured at the time of installation.

Check Existing Value

Verify MySQL Parameter : `group_concat_max_len`, value should be 50000000.

  1. Login to MySQL Docker : docker exec -it qmetry85_mysql_1 bash
  2. Login to MySQL : mysql -u[username] -p[password] -A
  3. Check the parameter value using query : SELECT @@group_concat_max_len;
  4. If this value is lower than 50000000, follow the remaining steps to update this value
  5. Type "exit" to exit mysql and exit again, to exit the docker.

Update if the value is set less than 50000000

  1. Type df -h
  2. Go to the /var/lib two directories that end with path /merged.
  3. Edit the my.cnf file using command : vim my.cnf type i to go into insert mode.
  4. Check for parameter : group_concat_max_len, if it does not exist, add it, or else update its value to 50000000
  5. Type Esc and then :wq to save and exit.
  6. Restart services using below commands

Verify the parameter value using steps above.