Why do browsers sometimes drain a lot of RAM until rebooted?

500 views

Why do browsers sometimes drain a lot of RAM until rebooted?

In: 5662

18 Answers

Anonymous 0 Comments

A computer has a limited amount of memory. When a program wants to use something, it asks to borrow it. This is called memory allocation. Some programs are really good at returning something as soon as they are done with it.

The others fall into two categories.

One is programs that borrow memory but then forget they did. They don’t return it. This is called a memory leak.

The other hoards memory because it isn’t well written it it needs lots to do what it’s trying to do. This is called a bloated pile of crap.

In all cases, when a program closes, it lets go of all the memory it borrowed and it gets reclaimed.

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