emscripten-core/emscripten

Memory leak during repeated runs on node.js?

オープン

#12,740 opened on 2020/11/09

 (15 件のコメント) (1 件のリアクション) (0 人の担当者)C++ (3,519 件のフォーク)batch import
good first bughelp wanted

Repository metrics

Stars
 (27,361 個のスター)
PR merge metrics
 (平均マージ 19d 10h) (30d で 147 merged PRs)

説明

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

コントリビューターガイド