go tool pprof http://localhost:6060/debug/pprof/heap Fetching profile over HTTP from http://localhost:6060/debug/pprof/heap Saved profile in /home/erock/pprof/pprof.ssh.alloc_objects.alloc_space.inuse_objects.inuse_space.010.pb.gz File: ssh Build ID: b8d9b26129cf70329eb2d7b8d3a8b402a6baf38b Type: inuse_space Time: Jul 6, 2024 at 11:52pm (EDT) Entering interactive mode (type "help" for commands, "o" for options) (pprof) top Showing nodes accounting for 549.68MB, 98.75% of 556.61MB total Dropped 42 nodes (cum <= 2.78MB) Showing top 10 nodes out of 26 flat flat% sum% cum cum% 528MB 94.86% 94.86% 528.50MB 94.95% github.com/minio/minio-go/v7.(*Client).putObjectMultipartStreamNoLength 21.68MB 3.89% 98.75% 21.68MB 3.89% bytes.growSlice 0 0% 98.75% 21.68MB 3.89% bytes.(*Buffer).Write 0 0% 98.75% 21.68MB 3.89% bytes.(*Buffer).grow 0 0% 98.75% 550.18MB 98.84% github.com/antoniomika/go-rsync-receiver/rsyncreceiver.(*recvTransfer).receiveData 0 0% 98.75% 550.18MB 98.84% github.com/antoniomika/go-rsync-receiver/rsyncreceiver.(*recvTransfer).recvFile1 (inline) 0 0% 98.75% 550.18MB 98.84% github.com/antoniomika/go-rsync-receiver/rsyncreceiver.(*recvTransfer).recvFiles 0 0% 98.75% 550.68MB 98.93% github.com/antoniomika/go-rsync-receiver/rsyncreceiver.ClientRun 0 0% 98.75% 550.68MB 98.93% github.com/charmbracelet/promwish.MiddlewareRegistry.func1.1 0 0% 98.75% 550.68MB 98.93% github.com/charmbracelet/ssh.(*session).handleRequests.func1