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 does arrays sort do in java?

0 Answers  


What restrictions are placed on method overloading?

0 Answers  


Are arrays immutable in java?

0 Answers  


State the difference between strings and arrays.

0 Answers   Syntel, Visa,


What is double parsedouble in java?

0 Answers  


What is race condition ?? (Threading concept) TCS 2 sept10

3 Answers   SparkTG, TCS,


how to write a program for chat function using core java

1 Answers   Satyam,


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

0 Answers  


What is the difference between error and an exception?

0 Answers  


can we add two numbers without using arthematic operators? if possible how?

5 Answers   CTS,


Which are thin and thicK wrapper Class's in Java?

1 Answers  


What do you mean by checked exceptions?

0 Answers  


Categories