java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.plugin_settings.SetJavaMemoryMacOS

public class SetJavaMemoryMacOS
extends Object
This class will take care of setting the available memory for Vanted by manipulating the Pinfo.list file found in the app bundle of Mac application distributions. To have the best experience Java programs should be started using a java starter wrapper. This wrapper starter will read necessary JVM parameters from the Pinfo.list file. We are interested in the Xmx parameter of the JVM Since we want to give Java 1/3 or max 8GB of RAM, which depends on the machine, we need to be able to change the Xmx setting in this file. This class will read and write this file. No fancy XML parsing involved, just simple read and replace
Author:
matthiak
  • Constructor Details

    • SetJavaMemoryMacOS

      public SetJavaMemoryMacOS()
  • Method Details

    • showDialog

      public static void showDialog()
    • main

      public static void main​(String[] args)