Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cb911

macrumors 601
Original poster
Mar 12, 2002
4,134
4
BrisVegas, Australia
i'm just wondering about how Panther uses the RAM, compared to Jaguar.

does Panther store heaps of stuff in RAM? like with Jaguar if you had a app open, it would be best just to leave it open, or else it might reload all the stuff into RAM again. does Panther behave like this?

a situation where this might apply... the new System Preferences. in Jag, you could close the window, but the app would stay open. now in 10.3, you close the window, the app quits. so is it better to just hide System Preferences in 10.3? if you quit it, then start it again, will it reload data into RAM?
 
panther seems to use a good deal more ram on my imac 500mhz. i have 384 megs and while having safari, mail, finder, taco html edit, terminal, and itunes used to give me a little bit of wiggle room in jaguar, i now have about 5-12 mb free in panther. however, safari seems to be taking up a lot more memory if it's been open for a while and flushing some if it's restarted.
 
Originally posted by FattyMembrane
panther seems to use a good deal more ram on my imac 500mhz. i have 384 megs and while having safari, mail, finder, taco html edit, terminal, and itunes used to give me a little bit of wiggle room in jaguar, i now have about 5-12 mb free in panther. however, safari seems to be taking up a lot more memory if it's been open for a while and flushing some if it's restarted.

How can u check how much ram u are using and how much u have free while using open apps?
 
Originally posted by markjones05
How can u check how much ram u are using and how much u have free while using open apps?
open up a terminal window and type "top". if you look through all the numbers (it takes a while to figure out what they mean) it tells you how much wired, active, inactive, and free memory you have. you can also open up the "activity monitor" in the utilities folder and it will give you a nice pie chart of your memory usage.
 
Originally posted by beefcake
What's the difference between inactive and free memory?
Good question. As I understand it, it works something like this:

In simple terms, stuff that is "inactive" is being held in memory just in case it's needed, but can be removed in favor of other stuff. Free is just that--not allocated to anything.

I believe roughly what happes is that you'll open an application, so it gets put into memory (allocated). Later, you quit that app, but OSX doesn't remove it from memory--just marks that chunk of memory "inactive".

If, later, you relaunch the app, it's going to start much faster (this is a fact, whether I'm mistaken about the reason or not), because most of what it needs is already sitting in memory. If, however, you launch something else for which there isn't enough free memory, it'll just remove some stuff from the inactive chunk to fit it in. Basically, if you've got space to spare, why remove something you might need again until you have to.

This is the explanation I've heard, and it seems to fit the behavior I see.

In answer to the original question, I can't say I've seen Panther sucking up more RAM for certain; under Jaguar I had 1GB and the free RAM was usually around 100MB at most, although there was plenty of inactive memory unless I was running something that had a memory leak for a very long time (Thoth, for example, would occasionally freeze and start slowly chewing up memory). Under Panther I have 2.5GB, and I've never seen less than 1GB free even with very heavy use.

Panther also, apparently, handles low-disk-space situations much better; under Jaguar, if you ran out of RAM the virtual memory system would start eating up disk space with swap files. When the drive filled up, you'd invariably loose preference files that couldn't be written to the full disk. Under Panther, though I haven't seen it yet, I've heard people say that it will warn you and ask you to quit apps once free drive space gets very low. This is a HUGE improvement from the know-nothing user's perspective, and even a nice safety feature for a pro.
 
Thanks for the explanation. I opened up terminal and saw I had only 6mb (of 512mb) free, and something like 160mb inactive. It would probably be a good idea to shell out a little money and give my PB an even gig of ram.
 
but does Panther hold onto data in RAM as much as Jaguar did?

i remember reading about Jag that you're better off to just leave apps open instead of close them, because basically if you close the app, the RAM will still be used anyway.

is Panther the same, or does it empty RAM more often than Jag did?
 
wow. i think i might have underestimated the new PB's. :p :D

i'll take that to mean that Panther handles RAM alot differently than in Jag.
 
free ram is basically wasted ram. If it's inactive it may not be being used right now, but at least it's doing something. Free ram is just sitting there.
 
good point Catfish_Man. lots of people get worried that they don't have enough free RAM. but free RAM is wasted RAM.

aethier might have set the record there. wasn't it 30MB free out of 1GB? that's about 3% RAM free, 97% used!!:eek: way to go! :D that's using your RAM.
 
Originally posted by ollywilson2003
Hehehe I wonder what would would happen if you used Expose :D

Exposé proved to be rather useful when i did that ;)

aethier might have set the record there. wasn't it 30MB free out of 1GB? that's about 3% RAM free, 97% used!! way to go! that's using your RAM.

it also wrote that i used 13 gigabytes of virtual memory.

aethier
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.