| Setting KoriBlast memory usage (MacOS platform) |
|
By default, KoriBlast has been configured to use a minimum of 512 Mb (mega-bytes) of computer memory (RAM) and a maximum of 1024 Mb. However, depending on your computer RAM capacity, you could be interested to modify these numbers. Doing so is quite easy. Start the Finder and go to the /Applications folder. Right-right on the KoriBlast icon, then choose the Explore Package command to open a new Finder window. There, double-click on the Contents folder and you will see a file called Info.plist. Double-click on that file to open it using the Property List Editor application. This editor displays a list of key/value pairs defining some very important KoriBlast properties. Unroll the Root node (click on the little arrow located on the left side of that node), then unroll the Java node. Locate the VMOptions key, then double click on its associated value:
Now you can update the memory settings of KoriBlast as needed. As an example, if you want KoriBlast to use 2048 Mb (i.e. 2 giga-bytes) of memory, modify that line as follows: -Xmx2048m -Xms2048m -XX:PermSize=64m -XX:MaxPermSize=128m When editing the values, be very careful to not modify the -Xmx and -Xms keywords since these are Java Virtual Machine keywords. Of note, the 'm' character located just after the memory amount stands for mega-bytes. To save the new memory settings, choose the command Save in the File menu of the Property List Editor. Then, you can close that application, as well as all the Finder windows. Updating Info.plist only takes effect after restarting KoriBlast. You can check the memory usage update by looking at the bottom right corner of the KoriBlast frame: you can see there a Memory Meter. Important notice: it is worth noting that 32bits Java Virtual Machine only allows to use a maximum of 2 Gb of RAM. If you plan to use more memory, this is simply not possible with a 32bits JVM. |