Results 1 to 2 of 2

Thread: how can i increase heap memory?

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Answers
    11

    how can i increase heap memory?

    how can i increase heap memory?


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    42

    Re: how can i increase heap memory?

    Hi,
    To increase the heap memory, use the following command when you execute your application:

    java -Xms32m -Xmx256m MyClassName

    In the above command,
    -Xms32m means that the minimum memory should be 32MB
    -Xmx256m tells the JVM that the maximum heap space should be 256MB.

    Hope this helps.

    Regards,
    Sahil.


    --Win as if you were used to it,
    Loose like you enjoyed it for a change!!!



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact