-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsobservabilitymetrics, timing, understandability, reflection, logging, ...metrics, timing, understandability, reflection, logging, ...tooling
Description
We've seen two problematic scenarios with the heapsnapshots:
- We OOM while collecting the snapshot! 🤦
- A short poem, to represent this case: the memory usage was high, we wondered "why," we asked for a snapshot from the cloud (in the sky), and so we saw our server die. 😢
- We successfully downloaded the snapshot (which was 7GiB big! 😳), and then the Chrome devtools errors trying to open it.
- It complains that we've exceeded the max size of a JS string 😑
SO we'd like the ability to sample a heapsnapshot, taking only some edges and/or only some nodes, possibly weighting the sampling by the number of bytes.
msagarpatel, ericphanson and PallHaraldsson
Metadata
Metadata
Assignees
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsobservabilitymetrics, timing, understandability, reflection, logging, ...metrics, timing, understandability, reflection, logging, ...tooling