3 ms·
With c++ programs, there is a well-understood model for how memory works and decent tools/method for finding memory leaks. A garbage collected program should n
by joe_the_user 16y ago
With c++ programs, there is a well-understood model for how memory works and decent tools/method for finding memory leaks.
A garbage collected program should never leak memory but if it does, then your problem is nastier - for example, how do you find memory leaks in C# in Mono? The tools are not sufficient. And standard Ruby, btw, doesn't official leak memory but simply never return allocated memory to the main pool - it keeps it in a private pool for future allocation. But allocate 1Gig and your Ruby instance will keep that 1Gig forever.