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

Can java cast null?

978


What is string in java?

960


how can you take care of mutual exclusion using java threads? : Java thread

991


What is the arraylist in java?

980


What data type is a string?

958


How does remove work in java?

906


What’s the difference between the methods sleep() and wait()?

951


What is the use of arraylist class in java?

1007


How many bits is a string?

940


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

937


What the difference is between execute, execute Query, execute Update?

770


State the difference between creating string as new () and literal.

1016


What is object-oriented paradigm?

1006


What is class array in java?

973


Why is static used?

981