PDA

View Full Version : Panther RAM usage?




cb911
Oct 30, 2003, 07:41 AM
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?



FattyMembrane
Oct 30, 2003, 09:42 AM
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.

markjones05
Oct 30, 2003, 09:46 AM
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?

iPC
Oct 30, 2003, 10:45 AM
iBook G3 800 with 640MB RAM

10.2.8 - 320MB without any apps open

10.3 - 130MB without any apps open

FattyMembrane
Oct 30, 2003, 03:30 PM
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.

beefcake
Oct 30, 2003, 04:26 PM
What's the difference between inactive and free memory?

Makosuke
Oct 30, 2003, 04:36 PM
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.

beefcake
Oct 30, 2003, 04:44 PM
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.

cb911
Oct 30, 2003, 07:58 PM
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?

aethier
Oct 30, 2003, 08:48 PM
Hope this (http://homepage.mac.com/aethierg5/PhotoAlbum1.html) helps,

BTW 1.25 Ghz AL pb 1 gig ram


aethier

illumin8
Oct 30, 2003, 09:30 PM
Originally posted by aethier
Hope this (http://homepage.mac.com/aethierg5/PhotoAlbum1.html) helps,

BTW 1.25 Ghz AL pb 1 gig ram

Holy crap! That is a lot of apps open. Just a question for you: Did the movies skip or were they still playing smoothly in the background?

cb911
Oct 30, 2003, 10:13 PM
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.

ollywilson2003
Oct 30, 2003, 10:21 PM
Originally posted by aethier
Hope this (http://homepage.mac.com/aethierg5/PhotoAlbum1.html) helps,

BTW 1.25 Ghz AL pb 1 gig ram


aethier


Hehehe I wonder what would would happen if you used Expose :D

Catfish_Man
Oct 30, 2003, 11:09 PM
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.

cb911
Oct 31, 2003, 01:23 AM
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.

Jahy
Oct 31, 2003, 01:46 AM
Originally posted by ollywilson2003
Hehehe I wonder what would would happen if you used Expose :D

http://homepage.mac.com/jasonmcdowell/PhotoAlbum53.html

;)

cb911
Oct 31, 2003, 03:06 AM
hey Jahy, what computer was that on? and could you put up a full size pic? i'd use that as my wallpaper... :D

ollywilson2003
Oct 31, 2003, 03:18 AM
Originally posted by Jahy
http://homepage.mac.com/jasonmcdowell/PhotoAlbum53.html

;)

Very nice, another question, how much cpu % was that using up?

aethier
Oct 31, 2003, 05:06 AM
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