Set Java Heap Size #132
pwgit-create
announced in
Learning Materials
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
-Xms: Sets the initial heap size.-Xmx: Sets the maximum heap sizejava -Xms512m -Xmx1g
Here's a breakdown of what each option means:
-Xms512msets the initial heap size to 512 megabytes.-Xmx1gsets the maximum heap size to 1 gigabyteBeta Was this translation helpful? Give feedback.
All reactions