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 |
Give me an example of array and linked list? Where they can be used?
How many bits are in a sentence?
When should we create our own custom exception classes?
What is multithreading ???? How to stop multithrading in java????
What is difference between module and function?
Which command from the jdk compiles a java program?
what is difference betwwen hashmap and hashtable ?
What is the purpose of javac exe?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
What is core java used for?
whats the difference between == and .equal ?
How does indexof work?