1.

What Is A Memory Leak? What Is A Segmentation Fault?

Answer»

The memory leak refers to the UNCLEARED memory may builds up across lifetime of the process. When it comes to a huge value system stalls its execution DUE to UNAVAILABILITY of the memory. The segmentation fault on the other hand refers to condition when our PROGRAM tries to ACCESS a memory space that has already been freed up.

The memory leak refers to the uncleared memory may builds up across lifetime of the process. When it comes to a huge value system stalls its execution due to unavailability of the memory. The segmentation fault on the other hand refers to condition when our program tries to access a memory space that has already been freed up.



Discussion

No Comment Found