This discussion is archived
1235 Views 8 Replies Latest reply: Apr 27, 2007 12:54 AM by Dj RaYz
Currently Being ModeratedApr 20, 2007 9:26 AM (in response to Ryan Sommers)having applications open, whether they're doing anything or not require RAM and the more applications you have open the more RAM that is utilised for often no good reason.
Additionally, by having many open applications you run into RAM fragmentation issues. So just because there's RAM being unused does not make it readily available. The larger the applications and their RAM requirements be bigger this problem becomes.
I would simply reduce the number of open applications you have at any one time. Your RAM is a limited resource and for best perforamance it's best to use it wisely. Just because you "can" do something doesn't mean you should.
You should also consider upgrading to 3GB RAM.Mac Pro 2.66GHz 5GB/4x300GB/ATi X1900 XT/AE/BT ; Dell 2405FPW, Mac OS X (10.4.9), MacBook Pro 15.4" C2D 2.16GHz 2GB/120GB/Glossy ; Mac mini CD 1.66GHz 2GB/80GB/SD
Currently Being ModeratedApr 20, 2007 10:49 AM (in response to Ryan Sommers)Page-outs are not bad unless accompanied by an equal number of page-ins in a short period of time. Ideally, your machine ought to page-out stale memory pages (i.e., those that have been allocated but since gone untouched for a while) as much as possible.
You can load a large app, but the majority of the app may never be accessed. For example, if you use something like Safari, but never the RSS features, the whole RSS support part will load, initilize, and never be touched. If the machine's otherwise idle, it might as well move that to disk and keep RAM as free as possible. If you exit Safari without ever touching RSS, the paged out pages are freed in-place.
Paging in an out is only adverse when done under load. Preemptory page-outs should increase the overall performance of a machine if it isn't already under high load.24" iMac, 17" MacBook Pro, Mac OS X (10.4.9), also many Linux PCs and one WinXP laptop
Currently Being ModeratedApr 20, 2007 12:18 PM (in response to J D McIninch)I too have the same problem... I think. I have 1GB of RAM in my MacBook Pro C2D and right now I only have 15.37MB Free. I only have a few apps open too. After a restart I have something like 800MB free. After working for an hour or so it is down to almost nothing! I can close out all apps and it never goes back to 800MB free unless I restart. Any ideas? When I am down to 15MB my computer will run really slow at times.MacBook Pro C2D 2.16 1GB RAM, Mac OS X (10.4.6), PowerMac G4 DP 1.42
Currently Being ModeratedApr 20, 2007 12:36 PM (in response to J D McIninch)That makes sense, and makes it hard to argue for a "fix".
My machine definitely feels slow as soon as it starts to page out. And I don't remember having this issue on my Powerbook G4 1.5Ghz with 2GB RAM... But then again, how good is my own memory?
When in the above situation, I can keep a minimum number of applications open. But when I open an application, since "Free" memory is already so low, it seems to start using inactive memory about as fast as it's paging out. So it ends up taking longer than it should to open, and inactive memory seems to be protected against use and lets this new application just keep paging out.
I can't pretend to know all the details of how OS X handles memory, but it seems like in this situation, it should be looking at the 700MB of inactive memory I have as ripe pickings for the newly opened application that needs it. If I closed an application, I'm not planning to use it again real soon, and would much rather that inactive memory be allocated to this new application I'd really, really like to use as fast as I should be able to.
Anyway, I know I can't change the underlying architecture of how the OS swaps memory, but man... It just seems like 2GB of memory should be faster.
I don't see how people can post on here that they almost never have any page outs, while I'm suffering at 83% page outs vs page ins right now. On to upgrading to that magical third GB I guess...
Currently Being ModeratedApr 20, 2007 1:10 PM (in response to Ryan Sommers)I have a ton of page outs on my MacBook Pro too! I just checked my other computers and they all have 0 page outs. What exactly is a page out? Is it bad?
Sorry... i figured it out. It is when all your memory is used up and it draws from the hard drive.
There is definitely something wrong with my setup here. I am not using all my RAM right nowI have one app open and only 147MB left!MacBook Pro C2D 2.16 1GB RAM, Mac OS X (10.4.9), PowerMac G4 DP 1.42
Currently Being ModeratedApr 20, 2007 1:56 PM (in response to Riot Mac)What exactly is a page out?
A page out is when memory in physical RAM is "paged" to virtual memory on your hard disk. This happens when you do not have sufficient RAM for what you are trying to do.
Is it bad?
Yes, in performance terms there's no such thing as a good page out.Mac Pro 2.66GHz 5GB/4x300GB/ATi X1900 XT/AE/BT ; Dell 2405FPW, Mac OS X (10.4.9), MacBook Pro 15.4" C2D 2.16GHz 2GB/120GB/Glossy ; Mac mini CD 1.66GHz 2GB/80GB/SD
Currently Being ModeratedApr 23, 2007 1:39 PM (in response to Ryan Sommers)
Currently Being ModeratedApr 27, 2007 12:54 AM (in response to Ryan Sommers)41GB of Virtual Memory taken up!! My laptop would die!!! I always close my apps after I use them. I noticed in Safari, after browsing around for 1-3 hours, the virtual memory increases to about 2GB.Macbook Pro, Mac OS X (10.4.8), 2.16 GHz, 1GB Ram