Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Swap files 60GB in Private/VM

Swap files 60GB in Private/VM
Thread Tools
jmiddel
Grizzled Veteran
Join Date: Dec 2001
Location: Land of Enchantment
Status: Offline
Reply With Quote
Jun 29, 2013, 06:20 PM
 
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
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Jul 1, 2013, 03: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?
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
     
jmiddel  (op)
Grizzled Veteran
Join Date: Dec 2001
Location: Land of Enchantment
Status: Offline
Reply With Quote
Jul 2, 2013, 11:52 PM
 
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
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Jul 3, 2013, 03:44 AM
 
That would do it, yes. I would install ClickToFlash if you haven't already to disable autostarting Flash.
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
     
jmiddel  (op)
Grizzled Veteran
Join Date: Dec 2001
Location: Land of Enchantment
Status: Offline
Reply With Quote
Jul 3, 2013, 09:36 PM
 
Thanks, it's done!
     
jmiddel  (op)
Grizzled Veteran
Join Date: Dec 2001
Location: Land of Enchantment
Status: Offline
Reply With Quote
Jul 23, 2013, 11:55 PM
 
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
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Jul 24, 2013, 01:49 AM
 
Originally Posted by jmiddel View Post
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
Addicted to MacNN
Join Date: Oct 2001
Location: Automatic
Status: Offline
Reply With Quote
Jul 24, 2013, 02: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
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Jul 24, 2013, 02:35 AM
 
Originally Posted by angelmb View Post
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
Addicted to MacNN
Join Date: Oct 2001
Location: Automatic
Status: Offline
Reply With Quote
Jul 24, 2013, 03:15 AM
 
As reported by Activity Monitor and Terminal, there I ran "top -S" and "sysdiagnose"

Page outs: 0 bytes

Thanks.
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Jul 24, 2013, 03: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.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:47 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,