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 |
Can an interface implement another interface?
How do you get length in java?
Write the algorithm to check the number non-leaf nodes in a tree.
what is the difference between object and class
What is the integer of 16?
What is meant by local variable and instance variable?
What are different access specifiers in java?
what is real-time example of runtime polymorphism and compile time polymorphism
What for read() function?
why operator overloading is removed in java?
Can we call the run() method instead of start()?
What isan abstract class and when do you use it?