The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
52 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
704 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
76 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 ...
8
votes
1answer
3k 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 ...
5
votes
1answer
358 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 ...
0
votes
0answers
781 views

Increase swap size limit past 59GB

I'm running some very memory intensive code on Mountain Lion (16GB Memory + 0.5TB of SSD). I've noticed that once the swap file reaches 59GB, it stops increasing, and my code is basically dead in the ...
3
votes
1answer
2k 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
9k 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
1k 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 ...
9
votes
3answers
7k 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
4k 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 ...
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 ...
2
votes
0answers
88 views

iOS Memory Mangement Technique

I was wondering what kind of technique does iOS use? Single contiguous allocation Partitioned allocation Paged memory mangement Segmented memory mangement I believe it is partitioned allocation, but ...
5
votes
1answer
7k views

Is there a way to limit the size of the disk swap file in Mac OS X?

It seems to be that in OS X, whenever you are out of ram the system happily swaps to disk. This easily becomes an disaster due to the fact that the swapped out memory eventually fills my drive. On my ...
6
votes
1answer
1k views

Why does OS X use virtual memory when I still have free RAM?

I have this awesome MacBook Pro with 8 GB of RAM. When I open up Activity Monitor it would seem that I have plenty of RAM available, but my computer seems to prefer to use virtual memory for many ...
3
votes
1answer
147 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 ...
6
votes
2answers
4k views

Disable inactive memory swapping

Background: OSX keeps some information in RAM that is no longer used, but was recently used. This is called inactive memory, and is intended to improve user experience by speeding up some actions: ...
2
votes
2answers
2k views

When will Finder use large amount of memory?

Sometimes I see the iMac with 4GB of RAM having a few MB of swap file only, and after I left for a few hours and come back, the swap file is 2.7GB. Looking into the Activities Monitor, the Finder is ...
9
votes
1answer
3k views

Why is it that my Mac would rather swap than clear inactive memory?

Why is it that my Mac (running 10.8 Mountain Lion) would rather swap than clear inactive memory? I know people say that the Mac OS manages itself and whatever, but there is a serious performance dip ...
8
votes
4answers
43k views

Can I delete private/var/vm? What can I delete from the private directory?

What is this folder? It's huge and I can use the extra room. I've read sleepimage isn't necessary—is this true? Should I just deal with it? Is the "private" folder emptied automatically, or would I ...
5
votes
3answers
2k views

Is it possible to use a SD card as virtual memory in OS X Server?

I have a 8gb High Performance SD card that I would like to use as swap (virtual memory). Is this possible in Mac OS X Server, and if so how do I go about doing this?
2
votes
1answer
282 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, ...
3
votes
2answers
959 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?
4
votes
1answer
2k views

Any performance gains when disabling secure virtual memory?

To disable secure virtual memory in 10.7, one does the following: sudo defaults write /Library/Preferences/com.apple.virtualMemory DisableEncryptedSwap -boolean yes However, are there any benefits ...
4
votes
3answers
2k views

OS X Lion behaving oddly after upgrading to 16GB RAM

Just upgraded Early 2011 Macbook Pro w/ 4GB RAM to 16GB RAM. System now sometimes runs smoothly and other times pauses frequently. Terminal keeps giving me 'System is low on disk space/memory' ...
12
votes
3answers
18k views

What are the “sleepimage” and “swapfile” documents?

I was using Disk Inventory X and found a file called sleepimage in /private/var/vm/ It takes up 4 GB! I also found numerous other files in the same folder called swapfile0 swapfile1, etc. What are ...
4
votes
1answer
5k views

VM size in Activity Monitor: hundreds of GB?

When I open the Activity Monitor, I get something looking like this: http://support.apple.com/kb/HT1342. But why the heck is "VM size" around 100-200 GB?? Here is the capture from the apple support: ...
0
votes
1answer
80 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 ...
4
votes
1answer
674 views

Minimum virtual memory (swapfile) size setting

Is possible set the minimum swapfile size in OS X? Currently OS X allocating swapfiles on demand, e.g. when when need 3.2GB will allocate 4GB and so on. But when the swap requirements start getting ...
3
votes
3answers
746 views

Should I Move The Swap Location For My Mac From The SSD To The Larger HDD In My Laptop?

Should I move the swap location for my Mac from the SSD to the larger HDD in my laptop? Background information: I've heard some suggestions in the general PC/Windows world that if you have an SSD for ...
0
votes
2answers
135 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 ...
3
votes
2answers
683 views

Why is my memory still inactive after purging?

I'm trying to understand how memory is allocated on my machine. I have read, and believe I understand, these posts and associated links: Trouble Understanding Inactive Memory in MacOSX, Inactive ...
7
votes
2answers
473 views

How can I diagnose really poor performance of my 13" MBP 2011 on 10.6?

The specs are: 2011 MBP 13" Core i7 4Gb RAM 320Gb HDD (not SSD) I use the system for work everyday, I almost always run the following: Mail.app Chrome (7-10 tabs) Terminal (2-3 sessions) Skype ...
31
votes
12answers
31k views

Why would I disable swap file in Mac OS X?

I came across a thread about installing an SSD drive in MacBook Pro. Someone in the comments also recommended to disable the swap file but didn't say why: sudo launchctl unload -w ...
1
vote
3answers
242 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 ...
7
votes
4answers
20k views

Startup disk has no more space available for application memory?

I purchased a new Macbook Pro (8,3) last April, and have been using it heavily for xcode development, and little else. This morning a message popped up: "Your Mac OS X startup disk has no more space ...
1
vote
1answer
140 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 ...
7
votes
2answers
789 views

How can virtual memory be greater than the total available space?

Why does my MBP sometimes report VM Size: 300+ GB in Activity Monitor under System Memory tab, when my hard disk size is only 250 GB (total) and RAM is 4GB? I know it can't magically get that extra ...
4
votes
4answers
589 views

Does it make sense to Quit apps before Sleep?

Will quitting (Cmd+Q) large apps before closing the MacBook lid make getting up and running again faster? I have the impression that my MacBook needs more time to recover from sleep if I have large, ...
8
votes
2answers
1k views

Trouble Understanding Inactive Memory in MacOSX

I thought that I understood how MacOSX manages memory, but recently I’ve become baffled by its performance. Here is the situation: I have a brand new Core i7 system with 8GB of physical memory ...
8
votes
2answers
4k views

Is there a way to reduce the swappiness of OS X 10.6 Snow Leopard?

I have 6GB on my old Macbook, with an SSD. I would like to avoid writing to the swap file as much as possible. Ever since my upgrade, I have always had at least 1 to 1.5GB memory "free". Yet, I ...
4
votes
1answer
330 views

In Activity Monitor, how can Swap Used be more than Page Outs?

I am trying to understand the relationship between Page Outs and Swap Used as displayed in Activity Monitor. Currently, Activity Monitor shows: Page outs: 1.6 MB Swap used: 8.1 MB How can there ...
2
votes
2answers
222 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
18
votes
5answers
10k views

What does it mean if I have lots of “Inactive” memory at the end of a work day?

After a day's of work at my MacBook Pro running Mac OS X 10.6.5, Activity Monitor shows that the majority of my computer's 8 GB of memory is "Inactive", and only a tiny sliver of the pie chart is ...
5
votes
3answers
2k views

MacBook Running Really Slow, Activity Monitor Reports HUGE VM

My MacBook is running really really slow at the moment, I have quit loads of processes (but activity monitor only reported about 10% cpu usage anyway). I had just noticed I have a VM Size of 250GB! ...
9
votes
4answers
9k views

Safari is using too much RAM. How can I reduce its memory footprint?

I'm finding Safari (Latest - v5.0.2) to be even more of a memory hog than usual. (Currently using 465mb of RAM with only this tab open, but having been running for a while) Closing it and ...
15
votes
1answer
15k views

How can I move virtual memory swap files to a different drive or partition?

note: This is a question that I asked on SuperUser a while ago. I'm re-posting it here because I think it belongs here. By default, Mac OS X stores its swap files in /private/var/vm/. I would like to ...