gomemorytest go memory test ( heap or stack) usage go run -gcflags -m main.go if console displays "escapes to heap", use heap.