1.2.3 Virtual Memory Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Running out of Memory

A

Virtual Memory
Terminating processes
Installing more RAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Virtual memory

A

Use secondary storage as if it were RAM.

Can have negative impacts on performance.

Can have negative impacts on the health of SSDs

Might have limited space in secondary storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Terminating processes

A

By closing some processes that we are not using, we can free the memory that they are using.

This is not always possible because we may need all the processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Installing more RAM

A

Store more data.

Not ideal as it can be expensive and we may only need more memory on a temporary basis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How Virtual Memory Works

A

Allows us to access more memory than we have by setting aside some secondary storage space to act as extra memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Paging

A

Memory can be split into pages.

Works by moving these pages between the RAM and secondary storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Move pages to HDD

A

If a page is not being used, then we might want to put it into Virtual Memory.

When a page is moved to the HDD, it is put into a special file called the pagefile.

Other processes can then use the memory that we just freed in the RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Move pages to RAM

A

When we want to use a page again, we first need to move it back to the RAM.

We do this by swapping the page that we want with one that is already in the RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly