A sampled allocation profile of the page’s JavaScript in the
pprof protobuf format, read by go tool pprof, the pprof web UI,
and speedscope. It comes from the CDP HeapProfiler domain — stacks
attributed to the bytes they allocated — and symbolicates to the served JavaScript. Source maps are
not applied.
Use it as a discrete output (--output-type pprof_memory, extension .mem.pprof) or as a
--pprof-memory sidecar alongside another output.
zshot --output-type pprof_memory --wait-for 3 https://zshot-cli.com -f page.mem.pprof
go tool pprof -top page.mem.pprof
The profile is gzip-compressed by default; --pprof-no-gzip writes
plain protobuf, and --pprof-memory-interval-bytes sets the sampling
rate. By default it covers the final destination page;
--pprof-captures-navigation spans a navigation session.
This is a Pro-tier output.