/** * Corresponds to -mx or -Xmx depending on VM version. * * @param max max memory parameter. */ public void setMaxmemory(String max) { getCommandLine().setMaxmemory(max); }
JavaCC.TASKDEF_TYPE_JAVACC)); cmdl.setMaxmemory(maxMemory); final Commandline.Argument arg = cmdl.createVmArgument(); arg.setValue("-Dinstall.root=" + javaccHome.getAbsolutePath());
JavaCC.TASKDEF_TYPE_JJDOC)); cmdl.setMaxmemory(maxMemory); final Commandline.Argument arg = cmdl.createVmArgument(); arg.setValue("-Dinstall.root=" + javaccHome.getAbsolutePath());
JavaCC.TASKDEF_TYPE_JJTREE)); cmdl.setMaxmemory(maxMemory); final Commandline.Argument arg = cmdl.createVmArgument(); arg.setValue("-Dinstall.root=" + javaccHome.getAbsolutePath());
/** * Set the maximum memory to be used by all forked JVMs. * * @param max the value as defined by <tt>-mx</tt> or <tt>-Xmx</tt> * in the java command line options. * @since Ant 1.2 */ public void setMaxmemory(final String max) { getCommandline().setMaxmemory(max); }
/** * Set the maximum memory to be used by all forked JVMs. * * @param max * the value as defined by <tt>-mx</tt> or <tt>-Xmx</tt> in the java * command line options. */ public void setMaxmemory(String max) { if (!Strings.isNullOrEmpty(max)) { getCommandline().setMaxmemory(max); } }
/** * Set the maximum memory to be used by all forked JVMs. * * @param max * the value as defined by <tt>-mx</tt> or <tt>-Xmx</tt> in the java * command line options. */ public void setMaxmemory(String max) { if (!Strings.isNullOrEmpty(max)) { getCommandline().setMaxmemory(max); } }