In ioGAS Mac installation version 4.5, we have made a script file (which you can edit as a text file), that can be executed to run ioGAS with higher memory limits. This file is called run.sh and is located in the ioGAS directory (Applications/ioGAS.app/Contents/Resources/app/ ).

Before you do the following, make sure that you have both Java Runtime Environment (JRE) and the Java Development Kit (JDK) installed. When you have both installed, go to the Java Preferences tool (From Utilities > Java Preferences). Then drag the Java SE 7 line to the top of the list so that it will be the first version that the Mac will use. Just to make sure, disable all the other Java SE -if you had Java SE 6 prior to this, there will be 2 Java SE 6 on that list, 32- and 64-bit versions.

You can edit the values in the run.sh file to follow the values as set out in the higher executable files found in the Windows ioGAS installation. For example, ioGAS4.exe file can load 32,000,000 data cells, 64,000,000 gridding cells and 60,000,000 splom points. We can type these values in the run.sh file, by editing the numbers after –gridcells, -splompoints and –importcells. Make sure you save the run.sh file afterwards.

The run.sh file is executed from Terminal, which can be accessed by going to Applications > Utilities menu. Alternatively, go to Finder and search for Terminal. In Terminal, type in the folowing line:

cd /Applications/ioGAS.app/Contents/Resources/app/

This will take you to the directory where run.sh is located. Then you have to type in the following command to change permission to the run.sh, and to execute the file itself.

chmod +x run.sh

Then type the following command to run the file.

./run.sh

Now ioGAS will run with the specified memory limits.

For more information please refer to the following documentation