3 ms·
This would also make a leak in languages without a GC, possibly making it quite hard to spot. With traditional leaks, where you're allocating memory and not fr
by fleg 9y ago
This would also make a leak in languages without a GC, possibly making it quite hard to spot.
With traditional leaks, where you're allocating memory and not freeing it, it's quite easy to find the problem using a sanitizer or valgrind. But with a memory wasted like this, which would get nicely cleaned when the program is exiting - well, you need to start a profiler and find the leak by yourself. Can be annoying.
- deleted 9y ago[deleted]