MacNN Forums (http://forums.macnn.com/)
-   Mac OS X (http://forums.macnn.com/mac-os-x/)
-   -   Swap files 60GB in Private/VM (http://forums.macnn.com/90/mac-os-x/501876/swap-files-60gb-in-private-vm/)

 
jmiddel Jun 29, 2013 07:20 PM
Swap files 60GB in Private/VM
Over the last couple of months my 256 ssd went from 125g to 185g. OmniSweeper found a 60g VM folder, all files but the Sleep State being swap files, from 1 to 2 gigs each. I had to log in as Root to delete them, OmniSweeper registered the 125g, but not Get Info. Trash was emptied. I had to restart in Safe mode, to get rid of the stuff. So my question is: why is this happening and how to stop it, since this is clearly not normal. In fact this problem, if not detected early, can crash the computer when the ssd is full.
 
P Jul 1, 2013 04:37 AM
Generally old swap files are removed at reboot, and in any case be deleted as root after a reboot. Is it possible that you had never rebooted?
 
jmiddel Jul 3, 2013 12:52 AM
It was a couple of months since the last reboot, but that's normal for me, and I've never had such an excess of swapfiles. Now, since I posted, which was right after the reboot, I have 11G of them in 4 day, that's clearly not right. I may have found it, in Activity Monitor Flash Player is using 12.4 Gs of VM. It had spawned 19 threads and was using 24% of CPU. Do I have to disable all plugins in Safari so Flash doesn't launch when I restart Safari?
 
P Jul 3, 2013 04:44 AM
That would do it, yes. I would install ClickToFlash if you haven't already to disable autostarting Flash.
 
jmiddel Jul 3, 2013 10:36 PM
Thanks, it's done!
 
jmiddel Jul 24, 2013 12:55 AM
The problem is, that whenever I listen to youtube, flash is needed, and swap files accumulate. Since my last post on 6/29, 25Gs of them. The problem, when I start in Single User, is with vim/Safari/Flash, so does the same thing happen in Firefox or Chrome? Just don't need reboots that often, thanks to rock solid ML :)
 
besson3c Jul 24, 2013 02:49 AM
Quote, Originally Posted by jmiddel (Post 4239923)
The problem is, that whenever I listen to youtube, flash is needed, and swap files accumulate. Since my last post on 6/29, 25Gs of them. The problem, when I start in Single User, is with vim/Safari/Flash, so does the same thing happen in Firefox or Chrome? Just don't need reboots that often, thanks to rock solid ML :)

Join YouTube's HTML5 beta, it will require Flash far less frequently:

YouTube
 
angelmb Jul 24, 2013 03:15 AM
So, after a restart my Mac VM size is 216GB. This is under Mac OS X 10.7.5 running on a Mac Pro with 8 GB RAM.

Should I worry about it.?
 
besson3c Jul 24, 2013 03:35 AM
Quote, Originally Posted by angelmb (Post 4239933)
So, after a restart my Mac VM size is 216GB. This is under Mac OS X 10.7.5 running on a Mac Pro with 8 GB RAM.

Should I worry about it.?

If you mean what is being reported in top/Activity Monitor, no. If you mean the files being created and/or you are seeing a number of pageouts, yes.
 
angelmb Jul 24, 2013 04:15 AM
As reported by Activity Monitor and Terminal, there I ran "top -S" and "sysdiagnose"

Page outs: 0 bytes

Thanks.
 
besson3c Jul 24, 2013 04:36 AM
AFAIK The VM size is just the space reserved for VM and is based on your total RAM, it doesn't mean that it is in use.
 
All times are GMT -4. The time now is 04:47 AM.

Copyright © 2005-2007 MacNN. All rights reserved.
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2014, vBulletin Solutions, Inc.


Content Relevant URLs by vBSEO 3.3.2