SSR Memory leak
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 814
- Fork
- 37
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.