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 |
why the constructor should be used in class,if there is no constructor what will happen?
What is a thin-client application?
What is the difference between length and size in java?
How many classes can any class inherit java?
What is meant by overloading?
In the below Java Program, how many objects are eligible for garbage collection?
What are desktop procedures?
Tell us something about different types of casting?
What is keyset in java?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
What is a treeset in java?
Explain parallel processing in java8?