Instruction
1
To allocate more memory for a Java application you can edit some of the options installed on your computer Java machine. Go to menu "start" - "control Panel" - "Programs". In the list of partitions, select Java.
2
In the opened settings window, select the line Java – View. In the parameter string Runtime.Parameters specify the value -Xincgc -Xmx768M. If you have a 64-bit operating system, type the amount of memory you want to dedicate to the app, in its sole discretion. For example, in the setting bar write -Xincgc -Xmx2048M. So you give the Java virtual machine is 2048 MB of RAM to use.
3
After specifying the desired data, click OK and restart the computer to apply changed settings. After reboot you can launch the desired application.
4
There is also the possibility to enter the parameters of the memory allocation for Java machine by using environment variables of your computer. Click "control Panel" from the "start menu". Then click on "system settings" - "System". In the appeared section select "Advanced" - "environment Variables". Click on the "Create"button.
5
Under "Name" enter _JAVA_OPTIONS. Then set need to change settings – write configuration-Xincgc -Xmx3G. It should be noted that in this case 3G means allocating memory in the amount of 3 Gigabytes.
6
One of the most demanding games on Java was Minecraft. In the settings of her profile you can manually specify the amount of RAM you want to allocate. Click on the Edit Profile tab ("Edit") in the launcher of the game and the relevant paragraph write the number of RAM. After that save the changes. Now you can begin to start the game.