What is the adverse effect of memory leak on the system? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the adverse effect of memory leak on the system?

I know why memory leak happens but I don't know its harmful effects so please help

13th Sep 2017, 7:43 PM
Serjeel Ranjan
Serjeel Ranjan - avatar
1 Answer
+ 3
On any modern OS, it will not harm anything as the OS controls all of the physical memory, only exposing virtual memory to your application (assuming user mode, not drivers). The only negative effect under normal conditions is that you will be hogging extra memory until your program exits, at which point the OS frees the memory you were using, leaked or not
13th Sep 2017, 8:40 PM
aklex
aklex - avatar