#!/bin/sh LANG=C # phymem=$(free -m | awk '/^Mem:/{print $2}') #igvmem=$(($phymem / 3)) # ARGS=-Xmx${igvmem}m %%JAVA_HOME%%/bin/java $ARGS \ --module-path="%%JAVAJARDIR%%/igv" \ -Dapple.laf.useScreenMenuBar=true \ -Djava.net.preferIPv4Stack=true \ --module=org.igv/org.broad.igv.ui.Main