You can learn how to increase the amount of memory that your Windows 7 computer can use.Increasing the amount of RAM that Java can use will allow it to run quicker and consume more system resources, thus allowing you to complete Java processes faster.
Step 1: If necessary, update java.
If you don't have the most current version of Java, you can download it in your computer's web browser.The page is in the middle.You can click at the top of the page.Click on the setup file.Follow the installation instructions.
Step 2: The start is open.
The Windows logo can be found in the bottom- left corner of the screen.
Step 3: Click the control panel.
The Start menu has it on the right side.You can open the Control Panel window by doing that.
Step 4: Click the box that says "view by."
There is an option in the upper-right side of the page.A menu will appear.
Step 5: Click large icons.
It's in the menu.The Control Panel window contents should change to show individual icons.
Step 6: You can click on Java.
The Control Panel window has this option.The java window will open.You can click here in some cases.
Step 7: You can click on the Java tab.
It is at the top of the window.Click View.
Step 8: Click the "Runtime Parameters" text box.
There is a blank text box to the right of the Java version number.You should see your mouse in the text box.
Step 9: You can enter a memory value.
The number of megabytes of memory you want to use and the letter "m" are what you have to type.The type -Xms1024m is used to assign 1GB of memory to Java.To assign 2GB of memory to Java, you need the type -Xms2048m.To assign 3GB of memory to Java, you have to type -Xms3072m.
Step 10: Press Enter.
The typed value will be added to the text box.
Step 11: Click Apply.
There is a window at the bottom.Doing so applies your settings.
Step 12: Click OK if you don't want to.
There is a window.Clicking it closes the window.Your specified amount of RAM should now be used by your Java program.