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

Is age discrete or continuous?

1126


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

1065


How can we achieve thread safety in java?

1141


What are three types of loops in java?

1127


Why main() method is public, static and void in java ?

1087


What is the byte range?

1026


What is a boolean field?

952


Explain the difference between intermediate and terminal operations in java8?

1103


What is functional interface in java example?

979


What is the default value of the local variables?

1012


Explain the features of java?

1011


What is string [] java?

943


How big is a boolean?

1029


What is the access scope of protected access specifier?

989


What is byte data type?

989