emscripten-core/emscripten

Memory leak during repeated runs on node.js?

开放

#12,740 创建于 2020年11月9日

 (15 条评论) (1 个反应) (0 位负责人)C++ (3,519 个派生)batch import
good first bughelp wanted

仓库指标

星标
 (27,361 个星标)
PR 合并指标
 (平均合并 19天 10小时) (30 天内合并 147 个 PR)

描述

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

贡献者指南