Questions tagged [virtual-memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
56 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
0answers
36 views

How to tell a process not to use swap and virtual memory on mac?

I would like to run a specific program and tell it not to use swap or virtual memory. I'm ok with having the OS kill the process when it is OOM. I don't want to change the machines general ...
6
votes
1answer
291 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
0answers
101 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 ...
1
vote
1answer
572 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
1answer
59 views

KEUbvKya proccess

KEUbvKya process run in my macbook and using 99% cpu and 4gb memory .I Cannot End prccess Plz see the picture
9
votes
3answers
4k 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
1answer
433 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 ...
2
votes
2answers
16k 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 ...
13
votes
1answer
6k 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 = ...
6
votes
9answers
7k 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 ...
4
votes
1answer
6k 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
1answer
28 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 ...
2
votes
0answers
74 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 ...
3
votes
1answer
2k 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
0answers
582 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
1answer
516 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
1answer
450 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
0answers
41 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
1answer
157 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 ...
3
votes
3answers
430 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
1answer
4k 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
0answers
459 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 ...
6
votes
2answers
5k views

what do App Memory, Wired Memory, and Compressed mean?

In Activity monitor, what do App Memory, Wired Memory, and Compressed mean? For example, I am used to the columns in the output of free from procps-ng under Linux. By the way, how can I install ...
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 ...
5
votes
0answers
2k views

How to increase swap memory in OS X?

I think my swap memory is hitting its fullest and would like to know how to increase it. I very often hit my 8GB RAM limits and my memory pressure (as seen in Active Monitor) goes red quite often. ...
11
votes
1answer
973 views

Why does Dashlane use so many ports?

I use Dashlane to store passwords, and I like it, but there's one problem I've had with it. I use Activity Monitor to see what's going on, and something strange has been happening with Dashlane lately....
7
votes
1answer
3k views

How can I increase the maximum allowed swap space?

When I try to do a calculation that needs to allocate and use 128 GB of memory (it is a command line program written in C), the kernel kills my process with extreme prejudice. This console log entry ...
17
votes
2answers
8k views

What is memory pressure, and how do I relieve it?

I have had my machine for more than a year now, and I'm looking at Memory Pressure in the Activity Monitor. What is this memory pressure and How do I "relieve" this memory pressure from my system? ...
4
votes
1answer
738 views

OS X: Memory usage freaking me out

I know, OS X 10.10 memory management knows what it does, it is good, you shouldn't question it. But this, I do not understand. I have 16 GB of RAM, 6 GB used, plus 2.5 GB app-cache, 1 GB file-cache ...
11
votes
2answers
2k views

vm_compressor=VM_PAGER_DEFAULT in Yosemite caused freeze when physical memory was full

The memory compression caused frequently lag so I tried turning it off by using the command sudo nvram boot-args="vm_compressor=1" The lag was gone but I got crashing freeze when I opened some ...
5
votes
2answers
1k views

Inspecting kernel_task

I have two MacBooks, one with a fresh OS X install and one with an older install. The older one has a kernel_task taking 1.52 GB of RAM. The newer one—416 MB. These aren't identical machines or ...
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
130 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
39 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 ...
41
votes
1answer
2k views

How is the Y value for the Memory Pressure graph in Activity Monitor calculated?

How is vm.memory_pressure's value bounded / calculated on OS X 10.10.2 - Yosemite? I've researched several answers to this question and am trying a few things on the command line to get exact values ...
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 ...
4
votes
1answer
8k views

How do I diagnose my Python program being killed due to an out-of-memory error?

I've been building a Neural Network that analyzes large amounts of data (40G), and my iMac kills the process after it's been running for about a day. In the past, on Linux, I've created a large swap ...
1
vote
1answer
571 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)...
4
votes
1answer
4k views

What is the OS X equivalent to the free command to show buffer and cache memory?

The free command displays the buffer and cache memory on Linux. What is the command to show the equivalent information for an OS X machine?
4
votes
2answers
2k views

How to calculate Virtual Memory Size in Mavericks

I would like to know if there is a command (or set of commands) that calculates each of (Virtual Memory, File Cache and App Memory) parameters listed in the screen shot above.
0
votes
1answer
520 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 ...
16
votes
2answers
13k views

vm_compressor_mode (vm.compressor_mode) values for enabled compressed memory in OS X

Background In Super user, with an accepted answer: Disable compressed memory in Mac OS 10.9 Mavericks? Also in Super User: how to get memory compress back in Mac OS 10.9 Mavericks? – and from ...
11
votes
2answers
2k views

How to access /dev/mem in OSX?

How I can access /dev/mem (or /dev/kmem, /dev/pmap) equivalent device in OSX? As far as I know it was removed in some point. Can I create this node manually somehow or any other way of dumping the ...
5
votes
1answer
6k views

Mac virtual memory: how to make OS X create swap (page) files as freely with a normal boot as it does with a safe boot (swapfile1 etc)

Background When my MacBookPro5,2 with 8 GB memory boots in safe mode I see that the operating system causes dynamic_pager(8) to create swap files in a way that's relatively unrestrained. In the file ...
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, ...
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 ...
4
votes
1answer
2k views

find what's producing inactive memory

First of all i'd like to ask politely for all of those who feel the need to explain it to me how perfect apple's memory management is to ignore this thread. A little background: The theory goes that ...
12
votes
3answers
18k views

How does memory management work in Mac OS X?

I am a university student who has been trying to write a compare and contrast paper between how Windows, Linux, and Mac OS X manage memory. For instance, with Windows, it's physical memory (RAM) and ...
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 ...