Possible Memory Leak: Detached <div> and MutationObservers Referenced in node-forge

Aperta
#1,126 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
web-dev

Direzione di ricerca

Start by inspecting /lib/util.js and the MutationObserver references shown in the Chrome DevTools Memory-tab report. Reproduce the detached

and observer retention, then determine whether node-forge owns those references and document whether they are expected or indicate a leak.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi,

I am currently investigating potential memory leaks in our application. During analysis in Chrome DevTools (Memory tab), I noticed a detached

node appearing in the “Detached Elements” section. Tracing the reference chain points to /lib/util.js:

Image

I also observed that MutationObserver instances are referenced from util.js.

Could you please clarify whether it is expected for node-forge to have detached DOM nodes and active MutationObserver references, or if this may indicate an issue?

Thank you.

Lingua principale
JavaScript
Stelle
5.4k
Fork
874
Merge medio
3m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di digitalbazaar/forge

Tutte le issue di digitalbazaar/forge

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.