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 |
Which is bigger float or double?
What is the purpose of the system class in java programming?
What is a numeric digit?
What are listeners in java and explain ?
What does 3 dots mean in java?
How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap?
Can we catch more than one exception in a single catch block?
how to prepare for IT Officers Interview in Banks
0 Answers TATA, Tata Steel Limited,
What are the 8 data types in java?
What is the meaning of flag day?
what is different between static and non static methods ,using example
What does percent mean in java?