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

What is the main advantage of passing argument by reference?

1041


Tell me about different OOPS concepts.

1053


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3713


Can an interface be final?

1080


What is nullpointerexception?

1116


What are default methods ?

1107


What is the exact difference in between unicast and multicast object? Where we will use?

1041


What do you mean by access modifier?

1106


Under what conditions is an object’s finalize() method invoked by the garbage collector?

1099


Can we return null in java?

1218


Is java hashset ordered?

1174


What are benefits of java?

1097


Which containers use a flowlayout as their default layout in java programming?

1058


Why heap memory is called heap?

1093


What is a double?

1154