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

Define how objects are stored in java?

1068


What is the primary benefit of encapsulation?

1090


What are constructors in java?

1120


What is the this keyword?

1033


Is nullpointerexception checked or unchecked?

1036


What is the default value of an object reference declared as an instance variable?

1128


What is object data type?

1004


Write code of any action class?

1018


When we serialize an object does the serialization mechanism saves its references too?

1021


What is procedure overloading?

2314


How to use Media tracker Class.

1133


What is the char data type?

1004


Can java arraylist hold different types?

1080


What is appletviewer?

1037


Differentiate between array list and vector in java.

1121