emscripten-core/emscripten

Memory leak during repeated runs on node.js?

Open

#12 740 ouverte le 9 nov. 2020

Voir sur GitHub
 (15 commentaires) (1 réaction) (0 assignés)C++ (3 519 forks)batch import
good first bughelp wanted

Métriques du dépôt

Stars
 (27 361 stars)
Métriques de merge PR
 (Merge moyen 19j 10h) (147 PRs mergées en 30 j)

Description

Running on node v14.8.0, when I run the same emscripten function repeatedly I eventually run out of memory. Here's a gist that shows the memory ticking up by 16MB each run for a minimal C file that doesn't allocate any memory: https://gist.github.com/apowers313/cee96b41e1f3ba272b214fc7e1c983bb

Guide contributeur