5
votes
1answer
153 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
365 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 ...
2
votes
1answer
1k 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 ...
4
votes
1answer
1k 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 ...
8
votes
3answers
5k 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
3k 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 ...
5
votes
1answer
5k 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
2answers
3k 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: ...
9
votes
1answer
2k 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 ...
5
votes
3answers
1k 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
254 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
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
1answer
4k 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
73 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 ...
3
votes
3answers
666 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
129 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
605 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
413 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
26k 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 ...
6
votes
4answers
18k 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 ...
8
votes
2answers
970 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
3k 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 ...
2
votes
2answers
215 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
16
votes
5answers
8k 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! ...
13
votes
3answers
12k 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 ...