emscripten icon indicating copy to clipboard operation
emscripten copied to clipboard

Memory Profiler Incorrectly Reporting Data as Free

Open milky2028 opened this issue 1 year ago • 1 comments

Version of emscripten/emsdk: 3.1.54

It seems like after a certain point, the memory profiler begins to report allocated memory as "free," despite not actually showing that data as free in the numbered totals. It's possible this might not be a bug. In general, I think better explanations of what's going on with memory here might be needed.

Screenshot 2024-04-11 at 2 52 51 PM

You can see this in action by using this small app I built (repo) to allocate specified chunks of memory in wasm in megabytes.

milky2028 avatar Apr 11 '24 18:04 milky2028

I think this is a question for @juj ?

dschuff avatar Apr 11 '24 19:04 dschuff