What is a “memory leak” in terms of video games?

573 viewsOtherTechnology

What is a “memory leak” in terms of video games?

In: Technology

18 Answers

Anonymous 0 Comments

Imagine you lose $1 down the side of a sofa. You still have $1, but its inaccessible to you. You might want to exchange that dollar for some snacks but you cant because you dont know where it is

This is (sort of) like a memory leak in software. The program stores something (like a number) in the computers RAM, but at some point (due to programmer error) it forgets where in RAM it put that number. The number is still there, taking up space, but the program cannot free the space back up because it doesnt know where the number is. If this happens enough all the RAM will be consumed and the program will crash

You are viewing 1 out of 18 answers, click here to view all answers.