App which will kill (most hungry) Safari tabs when Safari will start using too much memory (8GB currently).
- Install Go someway (https://golang.org/dl/).
- Set
GOPATH
environment variable to point to some directory. - Install with
go get github.com/ivanzoid/safariShrink && go install github.com/ivanzoid/safariShrink
You may run it periodically using cron. For example:
crontab -e
. Then enter:30 * * * * /Users/ivan/Go/bin/safariShrink
(edit according to your$GOPATH
)