--pprof-memory-interval-bytes
- CLI
- --pprof-memory-interval-bytes
Sets the average bytes allocated between memory samples. Lower values sample more allocations, at higher overhead.
Example
zshot -f page.mem.pprof \
--pprof-memory-interval-bytes 8192 \
https://zshot-cli.com/example_assets/zemu/{
"url": "https://zshot-cli.com/example_assets/zemu/",
"output_type": "pprof_memory",
"pprof_memory_interval_bytes": 8192
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/zemu/","output_type":"pprof_memory","pprof_memory_interval_bytes":8192}' \
-o page.mem.pprof