Client Fix
- Click Start, then settings, and then Control Panel.

- The control panel will open. Double click on the
Java plug-in icon. The Java(TM) Plug-in Control Panel will
open.

- Click the Java tab and then click View. In the Java Runtime Parameters field, enter
-Xmx131072000, and then click the Apply button. This will give you
128 megabytes of allocated memory.
Note: You may also
increase the memory by changing the number of bytes after
the "-Xmx". In this example, we used 128 megabytes, or
128 *(1024000)= 131072000. Assuming you have enough ram, if you wanted to allocate 256 megabytes of memory, then you would change the number to 256 * (1024000) = 262144000,
or -Xmx262144000.

For a Server solution which fixes all computers at the same Click here