a go version of grabmem