SSR Memory leak
未关闭
- 主要语言
- JavaScript
- 星标
- 814
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
描述
I recently added this package in our project and I was told it's causing memory leak in our prod env.
After reading the code, it seems like it's the `sanitized` cache that's causing the problem.
```javascript
sanitized[s] = true;
```
Every generated html string(`s`) would be stored in this cache, and it seems to have caused our server run out of memory and keeps restarting.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。