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 |
Name container classes in java programming?
What is the association?
What is size () in java?
How are java objects passed to a method and what are native methods?
Does java support multi dimensional arrays ?
What are static blocks and static initalizers in java ?
What is difference between wait and notify in java?
what is difference between set and list in collection?
Can we instantiate Interfaces?
What are heap memory and stack memory and what are memory tables.
List any five features of java?
What is casting ?