Jun
23
2006

java.lang.OutOfMemoryError: Java Heap Space in Firefox

I have had variable success with JAVA applications in general. Specifically JAVA apps that run in a browser window are problematic, it doesn’t matter what client platform or browser I use. That said, there are some tools that only exist in this form.

Recently, I found a version of a visualization tool I use to display interrelated ideas in a paragraph of text. If the paragraph of text is sufficiently large the tool explodes with the following error:

java.lang.OutOfMemoryError: Java Heap Space

It took me a while to find a cure for this on my Macintosh laptop.

Open the “Java 1.4.2 Plugin Settings.app” in the Utilities/Java folder. Add the following to the “Java Runtime Parameters” code box:

-Xmx256m

This fixed my problem for this tool, so far. Your mileage may vary.

Powered by WordPress. 24 queries in 3.691 seconds.