Questions tagged [virtual-memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
2answers
22k 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 ...
3
votes
1answer
2k views

Oops — deleted swap files (Mac OS, 10.6) — will they come back?

I'm worse than my grandmother when it comes to computers. So I got a Mac as my friends who know me and know a bit about PCs said I'd fair better with a Mac. They were right and I love my Mac Book Air....
3
votes
1answer
197 views

Swap is growing fast, I think I know which app is causing it, how can I check?

My swapfile has been growing fast lately, and I think I know which app is responsible, but I'm not sure. Is there a way for a non-developer to check something like that, or would you need a version ...
3
votes
1answer
3k 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
2answers
2k views

Delete swap partition

I made a swap partition to install Ubuntu on my MacBook Air 2011, but now I want to clean all the partitions up. However, I can't delete the "swap partition" in Disk Utility. Can anyone help me?
3
votes
0answers
307 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 ...
3
votes
0answers
586 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 ...
3
votes
3answers
459 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 ...
2
votes
3answers
2k views

Would Upgrading to 16GB RAM be Beneficial?

I'm running on an i3 processor, 2010 model, 3.06 GHz. I'm currently have 4GB of RAM, but if I were to upgrade to 16GB, would: Applications open quicker? FPS increase in game? Overall performance ...
2
votes
2answers
278 views

Caffeine taking up 2.88GB virtual memory

Caffeine is a small program. Why is it taking up so much virtual memory or am I reading this wrong? Edit: persists across application and os restarts
2
votes
3answers
3k views

Swapfile and sleepimage file creation?

I recently installed an SDD into my MacPro, and was paying attention to the storage used, both to be comfortable the SSD size was going to be enough, and also that the TM backup hard drive wouldn't ...
2
votes
1answer
6k views

How to reduce the size of swap files (Mac OS 10.6) \

I recently deleted (Oops!) my swap files and thanks to some great help on this forum, I was able to re-start my Mac and there is now a new swap folder. I had used Grand Perspectives in an attempt to ...
2
votes
3answers
114 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. ...
2
votes
1answer
348 views

If a Mac has 1GB inactive, and it has been idle for an hour, why it doesn't swap the inactive RAM to the pagefile for “readiness”?

I am sure Apple engineers have thought of and decided not to do it -- if from the Activity Monitor, I see out of the 4GB of total RAM, 1GB is not active, and the Mac has been idle for 1 or 2 hours, ...
2
votes
0answers
97 views

Swap is filling up and shutting down applications, but most of my RAM is free [duplicate]

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 ...
2
votes
0answers
57 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
vote
4answers
16k views

I run out of RAM on a 8GB MacBook Pro 15"

I'm a designer using Snow Leopard on a MacBook Pro 15" (i7) with 8GB Ram, 500GB (180GB free) (2010 model). I usually use Chrome (4/5 tabs), Firefox (1/2 tabs), Skype, VM Ware Fusion (with Win XP, ...
1
vote
1answer
989 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? ...
1
vote
1answer
30 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 ...
1
vote
2answers
152 views

iMac (Late 2015) using swap when there's still plenty of RAM left

My wife's new iMac is behaving rather oddly. Despite being a pretty powerful machine, it's rather slow and laggy. I looked into it, and it seems her swap memory is maxing out, even though there's ...
1
vote
1answer
580 views

Is it possible/a good idea to use an ExpressCard SSD for swap?

I have a 48GB WinTec filemate ExpressCard SSD which I'm not currently using for anything. My idea was that I would re-partition it with a 16GB partition for swap and virtual memory (I have 8GB of RAM)...
1
vote
3answers
83 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
1answer
57 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 ...
1
vote
2answers
615 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 ...
1
vote
3answers
267 views

Will I see performance boost if I add memory with these Page-In/Page-Out statistics?

Currently, if I open Photoshop after a days time, the load up time is about 5 seconds. If I close and open again (right after), the load up time is about 2 seconds (I assume this is caching?). Can ...
1
vote
1answer
151 views

Hard drive on latest macbook pro 17 accessed too often

I have the latest macbook pro 17 and it seems no matter what I do, particularly noticeable when I simply scroll up and down on a window, I hear the hard drive tapping away like it's being accessed or ...
1
vote
0answers
38 views

64GB MacBook Pro using Swap space

Any idea why my computer is using swap?
0
votes
1answer
3k 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 ...
0
votes
2answers
147 views

why my Mac disk size become zero while Mac running long time?

While my my Mac starts, it shows about 2GB free size but after running about 5-6 hours, I use Firefox and other apps at that time, then only leave the FF running (not close), other apps also in stop ...
0
votes
1answer
507 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 ...
0
votes
1answer
5k 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,...
0
votes
1answer
3k views

Should I disable Virtual Memory on SSD in OS X Yosemite?

Should I, or do I need to, disable memory swapping when my OS is installed on an SSD? I run OSX 10.10.2 with 16GB of memory. Currently, Activity Monitor reports I have 16GB of virtual memory allocated,...
0
votes
1answer
134 views

Is it possible to reserve exact amount of space for the indexing and virtual memory?

Is it possible to reserve exact amount of space for the indexing and virtual memory? I have Macbook Air with 128 GB SDD (with OS X Yosemite). When I run out of memory (free space less than 1 GB) the ...
0
votes
1answer
40 views

Retrieve Memos off ipod

I have recorded a memo and while I was recording it. The iPod died. When I turned it on it show I taped something by show 0 minutes. I try to share and it says file is 2.7mb but won't let me share and ...
0
votes
1answer
548 views

Inactive memory vs swapping

I'm trying to process a large dataset in java, and so I set my -Xmx11G. 1 thing I observed is, when I use xmx and the Jvm starts, the amount of inactive memory jumps up by about that much. Later, I ...
0
votes
1answer
115 views

Are the per process memory and other statistics defined the same as the system wide stats?

There's been a lot of posts about memory in OSX. None have really documented what the screen below speaks to. Especially the difference between private memory, and virtual private memory. Also does ...
0
votes
0answers
465 views

Poor performance on high-end iMac 5K Retina (October 2015 model)

I've got an iMac that is performing quite poorly. The specs: OS X El Capitan 4.0 GHz quad-core (i7) 16 GB RAM I've tried everything possible to figure out what's going on, to no avail. Typically the ...
-1
votes
1answer
181 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 ...