SSR Memory leak
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 30/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- javascript
- 領域
- backend, performance
研究方向
首先追蹤 sanitized[s] = true 指派周圍的 SSR 路徑,並檢查產生的 HTML 字串如何被保留。在監控程序記憶體的同時,重現許多不同 HTML 字串的渲染。報告的 SSR 記憶體增長獲得解決,且該 package 不再導致伺服器記憶體耗盡,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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.
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.
- 主要語言
- JavaScript
- 星號
- 814
- 分支
- 37
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
developit/vhtml 的其他 Issue
-
Maintenance 未關閉
難度 5/5 一週以上 新手友好度 10/100
-
難度 3/5 1-2 天 新手友好度 25/100
-
難度 2/5 1-3 小時 新手友好度 20/100
-
難度 5/5 一週以上 新手友好度 25/100
-
難度 3/5 1-2 天 新手友好度 38/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 75/100
mksglu/context-mode#1200 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
neondatabase/website#5944 ·
-
module: core
難度 2/5 1-3 小時 新手友好度 75/100
bigbluebutton/bigbluebutton#25849 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
jaegertracing/jaeger-ui#4506 ·