How To Increase Java Applet Memory
The amount of memory available to Java applets is configurable. The default setting is likely to be around 60-90 MB. Follow the instructions below to increase this limit.
On a Windows PC
- Click on 'Start'
- Click on 'Control Panel'
- Double click on the 'Java Plug-in' icon (which may be under 'Other Control Panel Options')
- Select the 'Java' tab and click on the 'View...' button, under the 'Java Applet Runtime Settings' section
- Find the most recent 'Version' Java runtime line
- Double click on the 'Java Runtime Parameters' box and add "-Xmx500m" to increase the memory to 500 MB
- Click 'OK' to exit all dialogs. Close the control panel window
- Restart your web browser
- Revisit the page that required increased Java applet memory, e.g. this Jmolvisualization of a very large biological assembly
On a Mac (using Safari)
- Open the "Java Preferences" application, found under "Applications" >> "Utilities" (or by searching for "Java Preferences" in Spotlight)
- Select the "General" tab
- Under "Java Applet Plugin", select the top entry (e.g. "J2SE 5.0" or "Java SE 6")
- Click on "Options"
- Type "-Xmx500m" into the text box to increase the memory to 500 MB
- Click "OK"
- You may now close the "Java Preferences" application as well
- Restart Safari
- Revisit the page that required increased Java applet memory, e.g. this Jmolvisualization of a very large biological assembly