summarylogtreecommitdiffstats
path: root/igv.sh
blob: 3735a97a8f9b318507ef9ed89cb719ee04f8e06c (plain)
1
2
3
4
5
6
7
#!/bin/sh
LANG=C phymem=$(free -m | awk '/^Mem:/{print $2}')
igvmem=$(($phymem / 3))
java -Xmx${igvmem}m \
  -Dapple.laf.useScreenMenuBar=true \
  -Djava.net.preferIPv4Stack=true \
  -jar /usr/share/java/igv/igv.jar