Hi,

I am working an a project where we have a model with quite a few lines and 
points, these are allocated in my c++ code. using ALLOW_MEMORY_GROWTH, we 
can see that the memory keeps on growing until it eventually goes out of 
memory.

on other platforms the same code runs and uses about 300mb of memory. on 
WASM however it keeps on allocating more. 

What i am concerned about is the amount of private data in the working set. 

any thoughts on how i can find out whats allocating in that private data?

i used  --memoryprofiler and --tracing, but couldnt find anything wrong 
with my code. theres lots of memory unaccounted for. 

 

Can anyone shine some light on what goes on inside there? i am using the 
sysinternals tool VMMAP to obtain this chart.


Thanks,

Tao


<https://lh3.googleusercontent.com/-eCDCPwxsom8/WjnN85aZPDI/AAAAAAAABDg/Sy7OWY3XGKw_yc5uHtj6pjYDwJ_JLX6RwCLcBGAs/s1600/vmmap_memory%2Bmap.png>


-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to