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 destructor is not used in java?
what are the differences between final,finally,finalize methods?
What are the main differences between the java platform and other platforms?
How do you identify independent and dependent variables?
Can we extend the String class?
how to print the below in java?thanks in advance.... * * * * * * * *
How can you make a class serializable in java?
If we don’t want some of the fields not to serialize how to do that?
What is a line break example?
What is array list in java?
How to remove the trailing spaces from a string?
What is reflexive association?