SSR Memory leak
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 814
- Forks
- 37
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.