-
-
Save josdem/f7cfacac0eeb4439f5cf947eb606636c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Find out your Java heap memory size | |
java -XX:+PrintFlagsFinal -version | grep -iE 'HeapSize|PermSize|ThreadStackSize' | |
//Uninstall openjdk Debian | |
sudo apt-get purge openjdk-\* | |
//Uninstall openJDK RedHat | |
sudo yum remove java*-openjdk* | |
//Increace Heap Memory using jar | |
java -Xmx1g -jar {JAR_FILE} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment