Hacker News new | ask | show | jobs
by sundarurfriend 1136 days ago
> To analyze your heap snapshot, open a Chromium browser and follow these steps: right click -> inspect -> memory -> load. Upload your .heapsnapshot file, and a new tab will appear on the left side to display your snapshot's details.

Can the same be done with Firefox's `about:memory`'s `Load...` button, or is it Chromium specific?

1 comments

We used the chromium snapshot file format (https://learn.microsoft.com/en-us/microsoft-edge/devtools-gu...). If firefox uses the same format then it should work, but I haven't tested.
Unfortunately it seems like they're different formats, Firefox just prints "Error: Invalid memory report(s): data version number missing or doesn't match" if I try to load a snapshot (whether from Chromium or from the Julia profiler).
It probably wouldn't be that much work to make an option for firefox compatible reports. Might be a fun first PR for someone.