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

what is mutability?which one is mutable String or StringBuffer?and why?give examples of each which shows the mutability of each String or StringBuffer

4 Answers   IBM, Zenon,


When should I use abstract classes and when should I use interfaces?

2 Answers  


What one should take care of, while serializing the object?

0 Answers  


How is a structure different from array ?

0 Answers   Amdocs,


Which is not Object in Java?

10 Answers   Honeywell,


What are meta-annotations?

0 Answers   Cyient,


When is the arraystoreexception thrown?

0 Answers  


can abstract class have constructor how can you achive this ?

4 Answers   Fidelity,


Can a variable be local and static at the same time?

0 Answers  


difference between String a; and String a=new String();? y do v need to assign memory to the variable?

2 Answers  


When throw keyword is used?

0 Answers  


any other way to print the text without using System.out.println() in java?

5 Answers   IBM, Infosys,


Categories