This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

memory leaks

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)

Parents
  • 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.

Reply
  • 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.

Children
No data