Workaround for FreeMind OutOfMemory Exception (Mac OS X)

FreeMind 0.8.1 splash screen
I’ve been having trouble running FreeMind on Mac OS X. I have the FreeMind icon in the dock. When I click on it to launch FreeMind, it hangs for a while, with the CPU pegged.

FreeMind 0.8.1 splash screen

After some time I get a “Cannot launch Java application” dialog box with the text “Uncaught exception in main method: java.lang.OutOfMemory: Java heap space”.

FreeMind 0.8.1 splash screen

I found a workaround on Julianus’ Blog. (Thank you!) This is a little ugly, but it works. I can use FreeMind.

Step 1
Run the Terminal program.

Step 2
Create a soft link from the FreeMind JAR file to some convenient location in your user account. Type the following all on one line, then hit “return” — or use copy and paste. 🙂

$ ln -s /Applications/ freemind.jar

This will create a soft link (called an “alias” in OS X parlance) in your home directory. You can click on this to “open” the JAR file, causing FreeMind to run normally.

Step 3
(This step is optional.) Drag the icon to the file portion of your dock. This will allow you to run FreeMind with a single click.

This is more a hack than anything, but it gets the job done.

FreeMind 0.8.1 splash screen

2 thoughts on “Workaround for FreeMind OutOfMemory Exception (Mac OS X)

  1. James Reuben Knowles Post author

    Thank you for the information. I forgot about this post.

    For the record, I’ve not had trouble on Snow Leopard myself.

    (The Free Mind site seems to be on the fritz at the moment, so I can’t comment on their solution. I’m curious though.)

Leave a Reply