1
Hello, there is a standard size for increasing Tomcat memory, through the Xmx and Xms parameters?
1
Hello, there is a standard size for increasing Tomcat memory, through the Xmx and Xms parameters?
2
There is a recommended standard for increasing Tomcat memory, as you know, the increase is by editing the Xms and Xmx parameters, which will be passed to the JVM at the time of the server startup. For the values used by jvm, the following details should be taken into account:
1 - Values passed to Xms(Initial Memory Allocation) and Xmx(Maximum Memory Allocation) must be 1024 multiples.
Values can be passed in bytes, Kbytes and Mbytes in the format:
-Xms6291456
-Xms6144k
-Xms6m
2 - For Tomcat, a good rule for you to adopt is the following:
The maximum memory value (Xmx) must be equal to or twice the initial value (Xms);
Ex:
-Xms256m
-Xmx512m
I usually always use double.
Browser other questions tagged java tomcat
You are not signed in. Login or sign up in order to post.
This "pattern" you quoted is the one that is already set not? You want to increase?
– Wellington Avelino