News for hackers. Stuff that matters.
Re:MemLab: An open source framework for finding JavaScript m... by astrange on Tuesday September 13, 2022 @01:26AM (#32820939)
You can just leak memory by leaving references to it around. Sometimes called memory abandonment.

With some systems you can pin it and forget to unpin it.

Re:MemLab: An open source framework for finding JavaScript m... by fithisux on Tuesday September 13, 2022 @11:50PM (#32833141)
Very good explanation. I always wondered what is the equivalent of memory leak in a garbage collected language. Are there any tools for this?
Re:MemLab: An open source framework for finding JavaScript m... by astrange on Wednesday September 14, 2022 @01:14AM (#32833552)
Well, there’s the one in the article. Usually each GC implementation comes with its own tools.

You can watch process memory in general and see if keeps going up; if it does, it’s someone’s fault.