When I do the following command:
root@starwars:/# export JAVA_OPTS="-Xms756m -Xmx756m -Xss128m -Xmn512m"
In which file will the values "-Xms756m -Xmx756m -Xss128m -Xmn512m"
be written?
The startup scripts of tomcat will run a setenv.sh
file if it exists. Create it (in the tomcat bin/
) directory and write your customization there, e.g. that file can just contain the line:
export JAVA_OPTS="-Xms756m -Xmx756m -Xss128m -Xmn512m"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With