Increasing Heap size for SQuirreL SQL on Max OS X

Erik picture Erik · Mar 30, 2009 · Viewed 17.8k times · Source

I'm running SQuirreL SQL (2.6.8) on Max OS X.

I'm running out of heap space when trying to create a Table script.

How to configure SQuirreL SQL to start up with a higher JVM heap size?

Answer

Slava picture Slava · May 4, 2009

Assuming you have the SQuirreL in your Dock you can do following:

  1. Cmd-Click on the SQuirreL icon in the Dock, the Finder window will open showing the you the application.
  2. Left-Click on the SQuirreL Application and choose "Show package contents"
  3. Navigate into Contents folder and open Info.plist file
  4. Change or add following to your Info.plist file:
<key>Java</key>   
 <dict>
    <key>VMOptions</key> 
    <array> 
        <string>-Xms128m</string> 
        <string>-Xmx512m</string> 
    </array> 
</dict>

Here you get 128M at the start time with maximal SQuirreL.

Save the Info.plist file and restart the application.