Can I get a swap file question in here?

First some data:

MBA 4,2 with a 240gb SSD.

The last 24 hours:
boot 11:15 am           Swap size = 0 GB                

With Mail & Safari (just 6 tabs) open                                           
11:45 am                        Swap size = 8.26 GB             

Some more browsing, now with Chrome in the mix
3:15 pm                                 = 15.9 GB       
7:21 pm                                 = 20.59 GB

More browsing, playing some video through Airplay to an ATV
Left on overnight (meaning no reboot)
11:00 am                                        =39.81 GB

The questions:
If the swap file size is dynamic, shouldn't it shrink when I quit out of 
applications?

Is anyone else seeing this kind of SWAP accumulation? Aye Yi Yi





On Nov 22, 2013, at 7:59 PM, steve harley <[email protected]> wrote:

> on 2013-11-21 15:41 LuKreme wrote
>> 
>> On 21 Nov 2013, at 12:26 , steve harley <[email protected]> wrote:
>> 
>>> Safari claiming 11GB of real memory
>> 
>> That seems excessive.
> 
> indeed, but it is just taking what it can; it would probably be lower if the 
> machine didn't have 16GB RAM, or higher if there weren't other apps competing 
> for RAM; in other words, in itself real memory is not a full measure of 
> memory status of an app
> 
> 
>>> and 143GB of VM!
>> 
>> That’s completely irrelevant.
> 
> first note that this was VPRVT, not VSIZE
> 
> knowing that VM is a matter of mapping address space, some of which is never 
> used and/or never transferred between RAM and disk, i still have a hard time 
> imagining what would need to be mapped to reach that figure, and it 
> correlated strongly with big performance problems
> 
> in the above case i didn't capture swap usage, but another time i recorded 
> what may be a different syndrome — 8GB of real and 19GB of VPRVT for Safari 
> Web Content (aka WebProcess in top); in this case, with no other "giant" 
> processes, i had 30GB of swap in use; the implication is that a substantial 
> portion of VPRVT represented data moved at least once between RAM and disk; 
> in both cases system response was terrible due to swapping, and quitting and 
> relaunching Safari with the same tabs brought performance back to normal for 
> at least a couple of days
> 
> _______________________________________________
> MacOSX-talk mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/macosx-talk

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to