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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are arrays static in java?

1110


Name and explain the types of ways which are used to pass arguments in any function in java.

1130


Can we declare an interface as final?

1115


Can we use string in the switch case?

1096


How does map works in java?

1051


What package is math in java?

1055


What is the default value of byte datatype in java?

978


What is the maximum size of arraylist in java?

1065


What are the advantages and disadvantages of reference counting in garbage collection?

1072


Explain about instanceof operator in java?

1121


What are conditionals and its types?

1192


why java does not support unsigned keyword?

5344


What is the purpose of using the java bean?

1106


What is a stringbuilder?

982


What is method and methodology?

1160