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.
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.
After specifying the desired data, click OK and restart the computer to apply changed settings. After reboot you can launch the desired application.
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.
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.
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.
To determine the bitness of the operating system, click on "start" and click on the entry for "Computer" the right mouse button. In the displayed list of options select "Properties". In the description window of the computer properties you will see an indication of the bitness of your Windows.