create heap profile mem-30246.memprof Now you can use this to check it: go tool pprof eta_api mem-30246.memprof