Quit Bugging Me: Memory Leak!
By Mike Deliman
A perennial question arises… "Did I find a memory leak in the shell? See what it does?"
This question naturally arises after a customer has been debugging a while, and runs short on memory for some allocation. They check into it, and they find that when they call certain shell functions, they find memory missing after the call.
Here are typical examples of "memory leaks" from the shell…