Possible Duplicate:
Why does Finder use 59GB of swap space?
So I have a regular (fresh) install of OSX Lion on my 2009 MBP, and I installed an SSD as the primary HDD prior to installing Lion. It's a 128GB SSD drive, but the system is using 52.6GB of this for it's swap files, which regularly results in zero space remaining on the drive and the system locking up.

Any idea why it would be using so much space for this (please see the visualisation screenshot, above)?
/private/var/vmandrm ./swap*and reboot. You should be able to see if it was a one time thing, or something is really leaking memory so badly that the system responds by swapping out massive amounts of data. You might also check the dates on these files to see if it's a "failed to clean up" scenario and not a "currently happening" issue. – bmike♦ Sep 27 '11 at 14:48rmjust removes the directory entry so no new processes can find the file - the running files already have that file mapped so actual removal happens when these references expire. – bmike♦ Sep 28 '11 at 18:31