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 |
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
what is diffrence between .NET and java?
What is lossy conversion in java?
What is jit compiler ?
How do you read a char in java?
How are variables stored in memory?
What do you understand by java virtual machine?
What advantage do java's layout managers provide over traditional windowing systems?
Is nullpointerexception checked or unchecked?
I want to run a simple hello world java (HelloWorld.java) program using a batch file. How can i run it and how to construct a batch file.
What are the types of java?
Is final static java?