Skip to main content

Questions tagged [virtual-memory]

Virtual memory is a method where each process is given its own address space (virtual memory), and the hardware translates every VM reference to a physical memory address. Originally VM was used to provide more address space than the available physical memory. To accommodate situations when more virtual memory is in use than physical memory, a storage device such as HDD can be used to "swap out" data and later "swap (back) in" as needed.

112 votes
14 answers
136k views

Should I disable swap file if I have lots of RAM or should I move it to a virtual RAM drive?

Imagine I have tons of RAM. Let's say 64GB. That's a lot for even gaming PCs. Now the default location of a pagefile in Windows is on the main OS drive, be it HDD or SSD, which are faster in general, ...
user1306322's user avatar
  • 4,826
72 votes
8 answers
34k views

How is virtual memory actually increasing the memory space?

I understand that virtual memory fools the program by displaying more memory than is actually available. But ultimately it has to map the logical address to the actually physical address. Now how is ...
Ahti's user avatar
  • 719
41 votes
3 answers
85k views

Commit charge is 100% full but physical memory is just 60% when using no page file

I have disabled the page file in my system (hard disk is too slow, cannot buy a new one right away, cannot move page file to another partition). When I see into Resource Monitor, using memory ...
Jason Oviedo's user avatar
33 votes
6 answers
26k views

What is virtual memory?

I was double checking my notes for 'Virtual Memory' and the definition in my text book is: Process of allocating a section of secondary storage to act as part of the main memory Where as Wikipedia ...
Yacoby's user avatar
  • 1,213
29 votes
2 answers
29k views

Unpause application in Mac OS X

I tried parsing a gigantic XML file and I ended up running out of virtual memory. The OS put all my applications on pause and gave me a screen to shutdown applications to free more space. I killed the ...
Xster's user avatar
  • 2,935
29 votes
5 answers
18k views

How much swap is a given Mac application using?

Is there any way to tell whether a particular application running on Mac OSX (10.2+) has some of its memory swapped out (i.e., to one of the /private/var/vm/swapfile* files)? And how much? Bounty (...
Charles Stewart's user avatar
27 votes
5 answers
73k views

How can I stop `vmmem` process?

I installed docker on windows home which uses WSL2 as a backend. However, ever since I installed a new container on it yesterday my computer fan has been turning on every 5 seconds. I am not sure ...
Nathan's user avatar
  • 281
22 votes
4 answers
7k 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 ...
JohnnyFromBF's user avatar
  • 4,988
20 votes
1 answer
2k views

How to stop a Linux process for later execution swapping-out its memory

I want to stop a long running process so it does not consume any CPU or physical memory resources, with the intention of resuming the same process in the future. I know the CPU part is achievable ...
idelvall's user avatar
  • 263
20 votes
2 answers
15k views

How to diagnose ballooning OS X kernel_task and wired memory usage?

I have a very strange issue, which I'm having a hard time diagnosing as to the root cause. I have a Mac Pro (2008, 8-core 2.8 GHz, 8800GT) with 14 GB of RAM (recently upgraded because of this issue!)....
user avatar
18 votes
8 answers
8k views

Do I still need to use virtual memory?

I would have thought this was already asked but I can't seem to find it. At what point do I no longer need virtual memory enabled? With 4GB of RAM I see that the computer rarely uses anywhere near ...
Steve Rowe's user avatar
  • 3,889
17 votes
2 answers
479k views

What is the Optimal Virtual Memory Size For 8 GB RAM | WIN 10?

I would like to ask experts that What is the optimal Virtual Memory Size For 8 GB RAM | WIN 10 and how you calculate? I know the system says 1906 MB is recommended but is it enough or I should set ...
Anonymous's user avatar
  • 345
17 votes
2 answers
19k views

What is the exact difference between the parameters (pgpgin, pswpin) and (pswpout, pgpgout) in /proc/vmstat?

Please note that this question is specific to linux only. And by swap space, I mean the dedicated swap partition. I did google a bit on this, and found these definitions: Paging refers to writing ...
Nehal J Wani's user avatar
15 votes
2 answers
22k views

ImDisk: Create physical memory drive (not virtual memory drive) from command-line

I'm using ImDisk to create a virtual drive in Windows 7. I use it as a temporary drive for documents, and it will be created every time the computer/windows restarts. This is working okay; however, I ...
Codebeat's user avatar
  • 372
14 votes
3 answers
131k views

How to increase swap memory in Windows? [duplicate]

I bought a new system with 4 GB of RAM. I don't know how do I check how much swap memory I have allocated. I know that we can increase RAM physically. I want to increase swap memory on windows. How ...
Ramkee's user avatar
  • 369

15 30 50 per page
1
2 3 4 5
21