How to set the Heap size in Java ?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
The heap size of the JVM can be set by specifying the
command-line flags -Xms and -Xmx
-Xms sets the initial heap size ( example: -Xms 30m )
-Xmx sets the maximum heap size ( example: -Xmx 70m )
Hope it helps! :)
Is This Answer Correct ? | 11 Yes | 0 No |
What is volatile keyword in java
What is parsing in grammar?
What are functions in java?
What is Runtime class and its purpose?
What is the dot operator?
How do I get a substring?
does java support pointers?
What is complexity in java?
what is difference between excute query ()and execute update ()?
Is java util regex pattern thread safe?
What advantage do java's layout managers provide over traditional windowing systems?
Why java does not supports multiple inheritance?