Write a memory allocation profile (pprof) sidecar alongside another output. Takes a path:
zshot --output-type png --pprof-memory page.mem.pprof --wait-for 3 https://zshot-cli.com -f page.png
The profile is gzip-compressed by default; pass --pprof-no-gzip for plain protobuf. To emit a
memory profile as the primary output instead of a sidecar, use --output-type pprof_memory.
This is a Pro-tier flag.
On the HTTP server, request this as with_pprof_memory=true instead of a path. The server writes
the profile to a temporary location and returns its URL in a Link response header. See the API
reference for reading those links and
--server-additional-asset-expiration
for how long they live.