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 |
How to sort a collection of custom Objects in Java?
What is a package in java? List down various advantages of packages.
What is object english?
What is compareto?
What is meant by JVM ?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is an example of a conditional statement?
Tell me the difference between an applet and a Japplet?
How do you create an array in java?
Is it possible to compare various strings with the help of == operator?
What java ide should I use?
When should I use stringbuffer?