7
votes
1answer
527 views

Get Python to raise MemoryError instead of eating all my disk space

If I run a Python program with a memory leak, I would normally expect the program to eventually die with MemoryError. But instead, what happens is that all the virtual memory is used until my disk ...
9
votes
2answers
2k views

On Mac OS X how can I see how much memory is being used by what programs?

On Mac OS X how can I see how much memory is being used by what programs?
16
votes
2answers
21k views

Unpause application in Mac OS X

I tried parsing a gigantic XML file and I ended up running out of virtual memory. The OS put all my applications on pause and gave me a screen to shutdown applications to free more space. I killed the ...
11
votes
1answer
11k views

Ballooning Mac OS X kernel_task and Wired memory usage. How to diagnose / fix?

I have a very strange issue, which I'm having a hard time diagnosing as to the root cause. I have a Mac Pro (2008, 8-core 2.8 GHz, 8800GT) with 14 GB of RAM (recently upgraded because of this ...
11
votes
4answers
2k views

How much swap is a given Mac application using?

Is there any way to tell whether a particular application running on Mac OSX (10.2+) has some of its memory swapped out (i.e., to one of the /private/var/vm/swapfile* files)? And how much? Bounty ...