We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I want to know about memory leaks 1)what are memory leaks 2)how you handle memory leaks in C programming using keil compiler. 3)please can anybody provide me the complete documentation about handling memory leaks using keil compiler? 4)what are different possible cases a memory leaks can occur in a C programming and how to overcome them. 5)what are the necessary steps to be taken when programming to avoid such bugs(memory leaks)
The problem with garbage collection is that it solves only one small fraction of resource acquisition and release problems. The programmers that can't eliminate memory leaks from their code without a GC are also the ones that deadlock the system because they can't release semaphores or halt the system because they forget to unmask interrupts.
GC should be a component of a system that you add or not, as suits the problem.