4 ms·
If there is any memory leaks in a garbage-collected language, isn't it a bug of V8 instead?
by maxloh 4y ago
If there is any memory leaks in a garbage-collected language, isn't it a bug of V8 instead?
- astrange 4y agoYou 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.
- fithisux 4y agoVery good explanation. I always wondered what is the equivalent of memory leak in a garbage collected language. Are there any tools for this?
- astrange 4y agoWell, 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.
- fithisux 4y agoMy question exactly.