1
vote
1answer
27 views

How to know the size of page frame used by my OS?

How to know the size of page frame used by my OS ? This could be useful for some optimizations when I code. (Allocate big buffer that fit in a page frame for example). Page frame is determined by ...
0
votes
0answers
18 views

Why was overlaying suppose to be done by the programmer?

I was reading about OS memory organization, and the first entry in the Virtual Memory(VM) chapter refers to overlaying and how when it was used at a large scale (up to the 60s) the process memory ...
3
votes
3answers
163 views

Can anyone explain what is virtual memory?

In my system I am getting an error like "virtual memory is full". Can anyone explain to me what "virtual memory" is and how to fix that issue?
18
votes
4answers
3k views

Why does Linux use a swap partition when the kernel supports paging/virtual memory anyway?

As far as I understand paging and swapping, they're completely different concepts. While swapping means, that a process is either completely in physical memory or on the hard drive, with paging parts ...
3
votes
2answers
2k views

What is Paging in memory management?

I was just reading Operating System Principles by Silberschatz et al when I came across paging in memory management.I'm slightly confused about it. It states that Physical Memory(I assume it's RAM) is ...
2
votes
1answer
5k views

Swaping, Paging, Segmentation, and Virtual memory on x86 PM architecture

Well, this may seem a common or already asked question but after searching various books, online tutorials and even here on SU, I am still puzzled at how these four beasts work together on a x86 ...
3
votes
2answers
5k views

What are the benefits of Virtual Memory?

So I've been reading up on virtual memory and it all seems pretty straight-forward and practical. However, I'm choking on one major concept. If virtual memory is stored in main memory, then why even ...
0
votes
2answers
476 views

sizes of RAM, of virtual memory and of swap for 32-bit OS

If I understand correctly, a 32-bit OS (Ubuntu) can only address 4GiB memory, so RAM with size larger than 4Gib will only be used 4Gib of itself and the rest is a waste. I am now confused about this ...