Increase JVM memory in Linux

You can increase the JVM memory for better performance if your system has sizeable free memory

export JAVA_OPTS="-Xms128m -Xmx128m -server -Djava.net.preferIPv4Stack=true"

You can make it permanent by configuring at .bashrc or .profile
Activate with
source ~/.bashrc
source ~/.profile




Comments