Warnings
- Be careful giving Memory to Java, I recommend leaving at least 2gb to your computer for the operating system and any background processes. This can result in Ram getting overloaded and PC crashes
How To Allocate More RAM to Java
Alright so in this tutorial we are going to be learning how to give Java access to more of the computers Ram than it is given by Default. It is a simple and easy process, here is how to do it.
Open your Java Options
- Open CONTROL PANEL.
- Type 'Java' inside the 'Search Control Panel' box.
- Click the Java icon that pops up.
- Click the Java tab.
- Click View...
Change the Amount of Ram
Here is where you are going to change the amount of ram that java has access to. Under "Java Runtime Parameters" you are going to want to type in -Xmx**** and replace the **** with the amount of ram you want to add. This is going to be in Megabytes so if you want to add (for example) 2 Gigabytes of Memory you are going to want to type -Xmx2048. If you want to find the number for you just search up a Mb to Gb converter.
Finish Up
Click "Ok" and then "Ok" again. This may require a computer restart to take effect.
Comments
No Comments Exist
Be the first, drop a comment!