How to Increase Java Memory in Windows

Go to Control Panel., Select Programs., Go to Java settings., Select "Java" tab., Change amount of heap., Modify the parameter., Close the dialogue box., Close Java dialogue box., Close the Windows 7 Control Panel.

9 Steps 2 min read Medium

Step-by-Step Guide

  1. Step 1: Go to Control Panel.

    Click on "Start" button.

    Then click on "Control Panel."
  2. Step 2: Select Programs.

    In the left side of Control Panel click on "Programs." Please click on the "Programs" written with green color, not the "Uninstall a program," which is in blue color. , In the next dialog click on "Java," usually at the bottom of the other Programs; "Java Control Panel" dialog pop-up opens. , Inside the Java tab, click on "View" button.

    It opens the "Java Runtime Environment Settings"

    In the "Runtime Parameters" column change the value, or if it is blank decide for the new value, of the Java memory. , To modify the parameter, double click in the "Runtime Parameters" column and, type
    -Xms512m
    - that assigns 512MB memory for the Java. type
    -Xms1024m
    - that assigns 1GB memory for the Java. type
    -Xms2048m
    - that assigns 2GB memory for the Java. type
    -Xms3072m
    - that assigns 3GB memory for the Java, and so on.

    Please note, it begins with a minus sign and ends to an m.

    Also note, there is no blank space between characters. , Click on "OK" button on the "Java Runtime Environment Settings" to close it. , "Apply" button in the "Java Control Panel" has been enabled now.

    You should click on "Apply" to finalise the new Java memory.

    Then click on the "OK" button. ,
  3. Step 3: Go to Java settings.

  4. Step 4: Select "Java" tab.

  5. Step 5: Change amount of heap.

  6. Step 6: Modify the parameter.

  7. Step 7: Close the dialogue box.

  8. Step 8: Close Java dialogue box.

  9. Step 9: Close the Windows 7 Control Panel.

Detailed Guide

Click on "Start" button.

Then click on "Control Panel."

In the left side of Control Panel click on "Programs." Please click on the "Programs" written with green color, not the "Uninstall a program," which is in blue color. , In the next dialog click on "Java," usually at the bottom of the other Programs; "Java Control Panel" dialog pop-up opens. , Inside the Java tab, click on "View" button.

It opens the "Java Runtime Environment Settings"

In the "Runtime Parameters" column change the value, or if it is blank decide for the new value, of the Java memory. , To modify the parameter, double click in the "Runtime Parameters" column and, type
-Xms512m
- that assigns 512MB memory for the Java. type
-Xms1024m
- that assigns 1GB memory for the Java. type
-Xms2048m
- that assigns 2GB memory for the Java. type
-Xms3072m
- that assigns 3GB memory for the Java, and so on.

Please note, it begins with a minus sign and ends to an m.

Also note, there is no blank space between characters. , Click on "OK" button on the "Java Runtime Environment Settings" to close it. , "Apply" button in the "Java Control Panel" has been enabled now.

You should click on "Apply" to finalise the new Java memory.

Then click on the "OK" button. ,

About the Author

G

Gary Lewis

Enthusiastic about teaching creative arts techniques through clear, step-by-step guides.

35 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: