Performance tuning
Every application is required to be tuned to improve the performance, especially when the users have increased and the site winds up generating more traffic than you anticipated. You can improve the Liferay Portal performance by changing settings in some properties files and improving the in-memory capacity.
Memory
It's a vital area for improving system performance. Whenever there is a need to optimize performance, you should first check the amount of memory space for JVM heap. There should be sufficient memory in your server, and your JVM is tuned to use it to avoid the impact due any disk swapping.
Java provides you with a few JVM command properties that control the amount of memory in the Java heap:
-Xms
: This sets the initial Java heap size-Xmx
: This sets the maximum Java heap size-XX:MaxPermSize
: This sets the permanent generation space
The preceding three settings allow you to control the memory in the Java heap. The initial heap size and maximum heap size should be set...