Questions tagged [virtual-memory]
The virtual-memory tag has no usage guidance.
114
questions
1
vote
0
answers
22
views
How do I increase virtual ram memory [duplicate]
I have a MacBook Air, but it only has 8GB of RAM. I need more than that for some apps, so I want more virtual RAM (I know it's not as fast as physical RAM, but it will be very useful) and I want to ...
0
votes
0
answers
54
views
How can I recover a temp file in virtual memory on Mojave?
I have a temp file stored in virtual memory by an Aiseesoft Recording app that failed to save to disk that I'm trying to rescue. Where can I find that file so I can save/move it?
0
votes
2
answers
50
views
What directories can be safely moved to the non boot drive
I have a 100 GB SSD that has filled up.
I moved /Applications to a separate (non-SSD) drive using ditto. The system is much slower including booting up. Does the bootup process use executables in /...
1
vote
0
answers
603
views
M1 Pro MacBook swaps a lot
I have a 10 core M1 Pro MacBook Pro with 16 GB RAM and 1 TB storage, on Ventura 13.0. It seems to suffer from excessive SSD writes for no apparent reason, a situation that seems very similar to what ...
1
vote
0
answers
290
views
Why is my system running out of application memory when there is plenty of free disk space to swap?
I am running some extremely memory intensive calculations that can balloon to use a great deal of memory for a process (a java program). I have increased the maximum java heap size to 64 GB to allow ...
0
votes
2
answers
1k
views
16GB M1 Mac running slow after couple days of usage
After a fresh restart, everything is smooth. During the next couple of days of regular usage of the system, a problem of responsiveness gradually increases, until you can count a full second between ...
2
votes
1
answer
119
views
Why is __PAGEZERO missing from vmmap output at Darwin 21.2.0
when I run vmmap for a process the regions start with the __TEXT entry rather than __PAGEZERO as in sample output at documentation
otool -l also shows
Load command 0
cmd LC_SEGMENT_64
cmdsize ...
1
vote
0
answers
162
views
Custom Docker resource limits
I'm using Docker desktop on Monterey, on an M1 Mac.
Some commands in an Ubuntu-based container are running out of memory and getting killed by the system. I opened a second terminal window and ...
1
vote
1
answer
102
views
Why is sleepimage and swapfile filled with zeros?
If I look at the contents of either sleepimage or swapfile in /var/vm, I find that it's just 1.07G of null bytes. I'd expect them to contain actual data, or if they're not being used to be a 0B file. ...
-1
votes
1
answer
1k
views
How can I delete the files in /System/Volumes/VM?
Just as an experiment/exercise, I tried deleting the swap files in /System/Volumes/VM but no matter what I did, it was prevented.
sudo rm - operation not permitted
sudo xattr - didn't return anything
...
2
votes
1
answer
620
views
Where are the swap files stored?
The swap files used to be stored at /var/vm but when I look there on Catalina, the only thing I find is a sleepimage of approximately 1 GB. Where is the swap stored? Want to know how much of the disk ...
0
votes
1
answer
225
views
Is it safe to encrypt the VM Volume on recent macOS versions?
Background info: I need my McBook to satisfy a newly-rolled-out policy of having "full disk encryption". The relevant software checks this by seeing if all user-mountable volumes/partitions ...
1
vote
1
answer
2k
views
Docker Abusing Swap on macOS Monterey
On macOS Monterey, the Docker process is using many GB of swap (virtual memory). So much swap, in fact, that my SSD filled up and caused file corruption.
Here are some things I've done to try to limit ...
0
votes
1
answer
570
views
How do you delete the swap space?
My 2015 Mac Book pro is running low on memory, and so it has switched to using the swap space. Though now the swap space is taking up all the computer's virtual memory. Is there any way to delete the ...
4
votes
1
answer
4k
views
Is there a command line tool that accurately describes the amount of used memory?
By "accurately describes the amount of used memory", I mean does it report (or can it be calculated) the same amount of memory use as described in Activity Monitor?
My intent is to find a ...
1
vote
1
answer
209
views
After using my MacBook Pro for a while, it becomes very laggy (Swap usage high)
I have a decent spec MacBook Pro:
The MBP has 64GB of RAM.
This is the output of htop command after 6 days uptime:
As you can see, the Swp usage is quite high.
Note: I do have Docker and JetBrains ...
0
votes
0
answers
741
views
How to change swap location on macOS versions like Mojave with SIP?
I am using Mobile simulator and virtual machines which memory intensive. There are a few posts on internet about how to change the location of Swap files on macOS versions with System Integrity ...
1
vote
2
answers
360
views
Will an iPad with more RAM experience fewer app suspensions? [closed]
My workflow requires me to frequently switch back and forth between Google Docs and other apps and this leads to my Google doc being repeatedly closed.
My understanding is that the cause is “app ...
1
vote
2
answers
926
views
macOS Catalina RAM usage - 2GB at boot?
I am trying to understand why my almost factory settings 13-inch MacBook Air 2017 with 8GB RAM available takes 2.3GB to just boot. The result is that if I start having Chrome+Dropbox+something to ...
1
vote
1
answer
2k
views
Figure out used swap from command line?
When looking at the Activity Monitor it says that I am using 459.5MB of swap.
I would like to figure this number out from the command line.
I have been able to duplicate all the other memory numbers ...
2
votes
0
answers
290
views
MacBook Pro 15 uses 60+ GB of swap memory
So, today something quite weird happened. I was watching a video on my MacBook Pro, and I noticed the fans started to ramp up quite a bit. I didn't think too much of it at first, since it often ...
1
vote
1
answer
22k
views
How do I increase size of Virtual Memory in Mac OS Catalina?
I am running Mac OS Catalina 10.15.6 with APFS formatted disk on an unsupported MAC using dosdude1 guide. My experience from windows is I had to make careful calculations on pagefile.sys and run into ...
0
votes
0
answers
17
views
What is Catalina (and no other OSX) doing with/to the disk? [duplicate]
My question is at
Mysterious disappearance of disk space on Catalina (and not any other OSX)
Tetsujin closed it pointing to How can I figure out what's slowly eating my HD space?
but just look at ...
0
votes
0
answers
158
views
iMovie pinwheels (spins) constantly on a brand new MacBook Pro with 16GB RAM
MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
2.3 GHz Quad-Core Intel Core i7, 16 GB 3733 MHz LPDDR4
macos 10.15.5 (19F101)
YouTube video that demonstrates the problem: https://www.youtube.com/...
0
votes
1
answer
179
views
Swp memory no longer being used Macbook Pro Mid 2015
Does anyone know why my macbook pro 15in mid 2015 is no longer using swap memory. I can tell via htop in terminal.
That is the HTOP of my machine. swp is saying 0k/0k. Not sure what to make of it or ...
3
votes
3
answers
502
views
How to hunt down which tab or webpage (on Google Chrome) used a lot of memory?
I already know Google Chrome was using a lot of memory for a badly behaving webpage. The issue was I don't know which webpage was doing that.
Sometimes after a day or two, possibly some webpage on ...
1
vote
1
answer
471
views
How large is my 2012 MacBook Air's L1 cache? Are they larger now?
Discussion in comments below this answer to improving speed of this numpy-based diffraction calculator suggest that the reason the script in the answer runs slow for me but fast for others (even on ...
2
votes
0
answers
177
views
64GB MacBook Pro using Swap space
Any idea why my computer is using swap?
2
votes
3
answers
1k
views
Use APFS VM Volume From Another Disk
Due to the sad demise of my main machine, I'm booting a much less capable system from an external drive to keep myself going while I await a replacement. The machine itself has its own internal drive. ...
0
votes
1
answer
8k
views
Can I upgrade the memory in a MacBook Pro 2019?
my Mac is a MacBook Pro 2019
I do not have any information about Mac or cp.
I am using R and I am running a heavy model, but I can not get a result because of lack of memory. Is there any way to fix ...
8
votes
1
answer
1k
views
What is the difference between “/private/var/vm” and “/vm”?
I’m wondering why my Mac (running macOS High Sierra 10.13.6) has both /private/var/vm and /vm:
$ ls -l /private/var/vm /vm
/private/var/vm:
total 4194304
-rw------T 1 root wheel 1073741824 May 17 ...
3
votes
0
answers
1k
views
Why does backupd cause excessive (tens of GB) swap memory usage when doing a Time Machine backup?
My MBP has only 8GB RAM, and whenever it does an hourly Time Machine backup it starts to crawl. This causes the backup to take a very long time for not much data.
At this point, Swap Memory usage is ...
2
votes
1
answer
3k
views
30GB out of 32GB being used for wired memory?
I have 32GB of memory and am downloading stuff over FTP using FileZilla. My memory usage is 31GB with 30GB of that being allocated for wired memory. Is this normal when downloading stuff over FTP?
...
4
votes
1
answer
85
views
KEUbvKya proccess
KEUbvKya process run in my macbook and using 99% cpu and 4gb memory .I Cannot End prccess
Plz see the picture
20
votes
3
answers
16k
views
Tell macOS to only use swap and compressed memory when really needed (macOS 10.14 Mojave)
As disabling swap and/or compressing memory is not recommended and also not a stable option after 10.9 Mavericks (despite the vm setting exists), I'm doomed after few days of running my Mac with my ...
1
vote
2
answers
2k
views
OS will not mount the VM partition. Virtual memory must be forced to work
Virtual memory was broken on my Mac (cMP 5.1) for several months, with Sierra, High Sierra, and Mojave. Apple support was useless.
I finally figured out that I was missing all the invisible ...
10
votes
2
answers
51k
views
Is it safe to remove /vm/swapfile0?
I found a file of size 1 GB in /vm/swapfile0, that has not been accessed in a long time, according to last access date value in ls -l.
My assumption is, that this file is left over from an older ...
37
votes
1
answer
43k
views
How to free up a swap space manually without restart?
I'm on High Sierra on MacBook Pro with 16GB of RAM with SSD.
Got 15G of swap files, is there any method of freeing swap space/files without restart?
$ sysctl -a | grep swap
vm.swapusage: total = ...
14
votes
12
answers
18k
views
Mac OS X is not creating a swap file
I recently started running into a lot of memory issues on my mac running High Sierra. Rather than the force quit window coming up, my system would freeze completely and the only way to recover is to ...
11
votes
1
answer
15k
views
MacOS uses virtual-memory / swap a lot
I have a MacBook Pro at work and I think it uses too much swap instead of RAM.
Model Name: MacBook Pro
Model Identifier: MacBookPro13,1
Processor Name: Intel Core i5
Processor Speed: 2 GHz
...
1
vote
1
answer
50
views
What could cause swapping when there is no memory spike?
I had a performance issue recently, which I was able to capture in the Monitor. It looks like there was plenty of free memory, but then suddenly the graph goes red, with no real spiking.
Could this ...
3
votes
0
answers
599
views
Swap is filling up and shutting down applications, but most of my RAM is free [closed]
I have a mac pro with 64 GB of RAM and a 14 GB swap file. I'm running a Jupyter notebook that eats up a lot of memory, so much that the OS is telling me it's out of memory and I need to close ...
4
votes
1
answer
6k
views
Why is memory management in macOS more efficient than in Linux?
I have been a Linux user for four years. Recently, I have been using macOS and I see it has very efficient memory management compared to Linux.
For example, here is a description of the documents/...
3
votes
0
answers
613
views
Why is Activity Monitor showing two different memory values for the same process?
In Activity Monitor, I am getting two different values for the same process, mds_stores.
The usage was around 4 GB an hour ago in the list and the window. It was high because I was reindexing my ...
5
votes
1
answer
742
views
Activity Monitor show no processes
With 10.13. I using Item2 to compile golang (src/all.bash). When cpu is get 100% The Item2 can't response. I have already open Activity Monitor. But I can't force quit the Item2. Then I quit ...
0
votes
1
answer
1k
views
Why does my macOS always swap while sleeping?
Firstly, I had disabled swapping and hibernatemode is set to 0
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
sudo pmset -a hibernatemode 0
(macOS SIP was ...
2
votes
0
answers
82
views
Shrinking VMWare flat esxi images
I've been following Moving Fusion VMs to ESXi on moving VMWare Fusion images into VSphere Cloud/ESXi, and am unsure of something that comes out of this.
When running the following command:
/...
-1
votes
1
answer
319
views
Falsy estimates of RAM usage with command line tools
I am trying to measure the RAM usage of MyProcess args
GNU time
Following this post
gtime -v ./MyProcess args
[..]
Maximum resident set size (kbytes): 303316992 # (303 GB)
[..]
I clearly don't ...
4
votes
3
answers
724
views
How to get the amount of 'Compressed Memory', per process (from Terminal)?
How can I use ps, or some variation thereof... to get a value that roughly corresponds to the "Compressed Memory" value Apple reports in Activity Monitor.app?
username 52036 100.1 24.1 8026832 ...
0
votes
1
answer
8k
views
What does "Failed to open swapfile" mean and is it a problem?
A couple of times a day my fans start spinning, ready for take off. The activity manager shows that Mail is eating up my CPU, 250% and more.
The console shows the following lines:
13-09-16 10:46:46,...