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 ?

Answers were Sorted based on User's Feedback



How to set the Heap size in Java ?..

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

How to set the Heap size in Java ?..

Answer / harish

set JAVA_OPTS=-server -Xmx700m

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

why the constructor should be used in class,if there is no constructor what will happen?

4 Answers  


What is a thin-client application?

5 Answers   Adobe,


What is the difference between length and size in java?

0 Answers  


How many classes can any class inherit java?

0 Answers  


What is meant by overloading?

0 Answers  


In the below Java Program, how many objects are eligible for garbage collection?

1 Answers  


What are desktop procedures?

0 Answers  


Tell us something about different types of casting?

0 Answers  


What is keyset in java?

0 Answers  


What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

0 Answers  


What is a treeset in java?

0 Answers  


Explain parallel processing in java8?

0 Answers  


Categories