cancel
Showing results for 
Search instead for 
Did you mean: 

acs 7.1 JVM values

VS
Confirmed Champ
Confirmed Champ

Using ACS 7.1.x enterprise edition. 

Alfresco Docs - Configure repository 

In above tune the JVM link, it only talks to set xmx and xms and explicitely mentions to not add any other configuration settings.

I am using host with 60G memory and by default the New size value is very small. If i set xms to 16 and xmx 32, will it be enough or do i need to set newsize, survivor ratio, permsize,  etc. explicitely?   Also, it does not talk anything about default GC config. Do they need to be added? I am using tomcat 9/jdk11 to deploy my app.  

1 ACCEPTED ANSWER

cesarista
World-Class Innovator
World-Class Innovator

Hi:

If you look below, in the link provided, some notes are related for Stack size and New size too.

But, in principle it will be enough to set -Xms and -Xmx. You may use the default GC for your JVM, or trying something like -XX:+UseG1GC

In addition, you may use some profiling tool for monitoring and sizing your JVM. This is going to depend on your use case scenario, concurrent users...

Regards.

--C.

View answer in original post

1 REPLY 1

cesarista
World-Class Innovator
World-Class Innovator

Hi:

If you look below, in the link provided, some notes are related for Stack size and New size too.

But, in principle it will be enough to set -Xms and -Xmx. You may use the default GC for your JVM, or trying something like -XX:+UseG1GC

In addition, you may use some profiling tool for monitoring and sizing your JVM. This is going to depend on your use case scenario, concurrent users...

Regards.

--C.