Advice 1: How to allocate RAM for Java

Windows operating system is installed to dispose of the computer memory to run the various processes. But it often happens that some programs aren't getting enough resources – especially for some games in Java. For example, the game Minecraft is very demanding on the computer hardware. To allocate additional memory will need to make some adjustments.
How to allocate RAM for Java
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.
Useful advice
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.

Advice 2: How to change RAM in laptop

To quickly change the memory modules in the laptop, we must first find out where are the slots. Then remove the lid and just add a new module. Or change the old to the new memory modules.
the memory modules in the laptop
You will need
  • RAM, notebook, screwdriver
Often the owners of laptops there is the question of the replacement of RAM. It is very often just not enough. So you can not buy a new one, but simply to improve your existing laptop. To change the operational memory, you must first determine where it is located. Looking for this information in the manual to the laptop or the Internet. Often, the operational memory of hiding cover, which is on the opposite side of the device. But in some models the memory can be under the keyboard or near the motherboard. In this case, you will have to partially disassemble the laptop.
If the slots for the memory modules are at the bottom, and they closed the lid, then just take a screwdriver and Unscrew the bolts. Previously remove the battery. Then take out the plastic cover. We may see one or more memory modules SO-DIMM or SO-SIMM. These are the analogues of memory for desktop PCs only cropped length. Move aside the clips and gently remove the modules. Then in the same way set a new and fasten the lid. Ready.
If the operational memory is under the keyboard or near the motherboard, it will be a little difficult. Have to disassemble the laptop. Most often, the disassembly process starts with the front panel. Remove the battery, Unscrew the bolts that hold the panel. Then turn over the laptop and remove the panel. We will be the bolts that hold the keyboard. Unscrew them, move the keyboard. If you want to take it off completely, you will need to disconnect the ribbon cable that goes to the motherboard. Next, look for steel panel that hides the operational memory. Unscrew the screws and remove. Here we got to the memory. Now move the retaining clips and gently pull the modules. Then in their place put new RAM memory. All actions are performed in reverse order.
Important in the process of replacing the RAM is not in a hurry. And be sure to remove the battery. Because RAM is sensitive to static electricity, it can easily be damaged if the battery is connected to the laptop. Keep calm and remove the RAM carefully so as not to damage the small contact group.
Is the advice useful?