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

575 viewsOtherTechnology

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

In: Technology

18 Answers

Anonymous 0 Comments

Oh seem’s like I’m first?

Imagine you have a shooter game. When you shoot a shot, you create a new entity “shot”, and it should travel and collide something or dissapear.

But you made a mistake! You forgot to delete the entity! So the more shots are shot during gameplay, the more and more and more and more entities continue to exist. Each entity may be a few kilobytes of memory, but if they’re never released, they keep gnawing at your memory.

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