Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to set the Heap size in Java ?

Answers were Sorted based on User's Feedback



How to set the Heap size in Java ?..

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

How to set the Heap size in Java ?..

Answer / harish

set JAVA_OPTS=-server -Xmx700m

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

Give me an example of array and linked list? Where they can be used?

0 Answers   Ericsson,


How many bits are in a sentence?

0 Answers  


When should we create our own custom exception classes?

0 Answers  


What is multithreading ???? How to stop multithrading in java????

1 Answers   Cognizant,


What is difference between module and function?

0 Answers  


Which command from the jdk compiles a java program?

0 Answers  


what is difference betwwen hashmap and hashtable ?

7 Answers   Fidelity,


What is the purpose of javac exe?

0 Answers  


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

0 Answers  


What is core java used for?

0 Answers  


whats the difference between == and .equal ?

10 Answers   Cisco,


How does indexof work?

0 Answers  


Categories