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 > Applications > Safari memory usage

Safari memory usage
Thread Tools
Mac Enthusiast
Join Date: Jun 2000
Location: New Jersey, USA
Status: Offline
Reply With Quote
Sep 10, 2003, 02:50 PM
 
Safari still routinely gobbles up roughly 150MB - 180MB before leveling off on my PowerBook. At this point, is this considered a bug to be fixed or just normal behavior? Seems excessive to me, and pretty much guarantees that my system will be swapping. Does the 1.1 release in Panther address this at all?
     
Dedicated MacNNer
Join Date: May 2001
Location: Midwest, USA
Status: Offline
Reply With Quote
Sep 10, 2003, 08:42 PM
 
I don't think that is a common Safari problem. An application using that much memory is ridiculous. Did you see this in the process viewer or something else?
MacBook C2D 2.0GHz/Combo/2GB RAM
     
neilw  (op)
Mac Enthusiast
Join Date: Jun 2000
Location: New Jersey, USA
Status: Offline
Reply With Quote
Sep 10, 2003, 10:45 PM
 
Process Viewer, top, whatever, all shows the same. Safari is currently holding about 156MB. If I restart it, it will go back to normal, then work its way up to that range. It has always done this for me, since the betas.

Right now I have two windows with a total of 7 tabs open, but I could close both windows and it would have little effect (have tried that in the past.)

I'm running Safari 1.0, v85, on OS X 10.2.6.
     
Senior User
Join Date: Nov 2000
Status: Offline
Reply With Quote
Sep 11, 2003, 12:21 AM
 
Which number are you looking at?

If you're looking at VSIZE in top that isn't the amount of RAM it is using, RSIZE (sort of) displays that.

Currently my copy of Safari is at RSIZE 44.5MB, of which 16MB is shared (RSHRD) with other applications, making Safari's actual RAM usage 35.7MB (RPRVT). VSIZE on the other hand is 156MB. You can ignore VSIZE at it is simply a measure of the amount of the 4GB of virtual memory address space has been allocated in the applications RAM space. It doesn't indicate any of that is being used.

- proton
     
neilw  (op)
Mac Enthusiast
Join Date: Jun 2000
Location: New Jersey, USA
Status: Offline
Reply With Quote
Sep 11, 2003, 08:31 AM
 
From "top":
Code:
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE 561 Safari 4.1% 10:47:24 30 620 2838 151M 67.6M 160M 626M
It really truly is taking 160 MB (or so), and has always done this.
     
Senior User
Join Date: Feb 2002
Location: Miami
Status: Offline
Reply With Quote
Sep 11, 2003, 08:53 AM
 
Slightly off topic here, but in the top command, PhysMem "used" and "free" refers to your RAM right?

Thus:

PhysMem: 37.1M wired, 103M active, 111M inactive, 251M used, 4.64M free

tells me I have 111M of RAM inactive, 251M used, and 4.64 free. Since I have a total of 384 megs, it would seem that RAM is used in groups, explaining why I have 4.64 free and not 115 right?
2011 iMac 2.7 i5, 16gb RAM, 1TB HD
Previous Macs: Apple IIc+, iMac 350 G3, iBook 700 G3, G4 Powerbooks 12" 1ghz & 15" 1.67ghz
Join Team MacNN.
     
Senior User
Join Date: Nov 2000
Status: Offline
Reply With Quote
Sep 11, 2003, 09:19 AM
 
Originally posted by Sosa:
Slightly off topic here, but in the top command, PhysMem "used" and "free" refers to your RAM right?

Thus:

PhysMem: 37.1M wired, 103M active, 111M inactive, 251M used, 4.64M free

tells me I have 111M of RAM inactive, 251M used, and 4.64 free. Since I have a total of 384 megs, it would seem that RAM is used in groups, explaining why I have 4.64 free and not 115 right?
Inactive is memory that has been freed, but the system still has in memory because it may be useful later on. For example, it may contain the code of a program you just quit. If you were to open that program again it doesn't need to load a lot of that from the disk.

For (almost) intents and purposes, you can treat the "Inactive" part of that as "Free" memory.

- proton
     
Senior User
Join Date: Feb 2002
Location: Miami
Status: Offline
Reply With Quote
Sep 16, 2003, 04:02 PM
 
Ok, how is this for a Safari problem: I was navigating a legal research site, suddenly Safari froze. I waited perhaps a minute or 2 before force quitting. I did notice my VMometer red (informing me the disk was being written to). Check my available HD memory: 4 gigs less! WTF?!

I've checked all my applications, utilities, can't find where that 4 gigs went to. Any ideas? I've restarted and they are still missing.

Update: Safari went crazy with its cache. I deleted it using preferences and problem resolved! Weird though. I wonder what it was downloading?
(Last edited by Sosa; Sep 25, 2003 at 10:03 AM. )
2011 iMac 2.7 i5, 16gb RAM, 1TB HD
Previous Macs: Apple IIc+, iMac 350 G3, iBook 700 G3, G4 Powerbooks 12" 1ghz & 15" 1.67ghz
Join Team MacNN.
     
   
Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:38 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2