-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
Description
Anytime emscripten_sleep runs, it slightly increases usage of memory by the app (due to windows task manages). I thought it can be asynchronously calls, but memory usage kept increasing even if I remove functionality and run only
while(1)
emscripten_sleep(0));
Then I thought, It might be because of the allocator, which is deallocating memory but not letting it get to the system. Then I saw message for heap reallocation happening, I set breakpoint and at the time it was shooting, in the callstack I saw Asyncify.allocateData() inside handleSleep.
Asan detected no errors.
Would be great to hear some ideas of how to solve this issue