Limiting an application's system memory usage

I'm running Snow Leopard on a Macbook and I only have 1GB of RAM (I'm dying to buy more, I know this would solve my problem but at the moment I'm broke so that's not an option) so running multiple applications simultaneously is excruciatingly slow. Most of the time it's my web browser (usually Firefox, occasionally Chrome) that's hogging all of my system memory, even when I only have one tab open, so I'm wondering if there's a way I can limit the percentage of free memory my browser can use up so the rest of my applications wouldn't keep freezing? Or would doing that simply render the browser unusable? Any opinions or suggestions are welcome (including where to find the cash to get three more gigs of memory!)


Many thanks!

MacBook, Mac OS X (10.6.8)

Posted on Jul 26, 2011 10:29 PM

Reply
3 replies

Jul 26, 2011 11:06 PM in response to sevensix

Run fewer applications to minimize RAM usage. See the following:


About OS X Memory Management and Usage


Reading system memory usage in Activity Monitor

Memory Management in Mac OS X

Performance Guidelines- Memory Management in Mac OS X

A detailed look at memory usage in OS X


Understanding top output in the Terminal


The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.


Adding RAM only makes it possible to run more programs concurrently. It doesn't speed up the computer nor make games run faster. What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent. It will improve the performance of applications that run mostly in RAM or when loading programs.



Please note the items listed under Legend in the right sidebar of this page. 🙂

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Limiting an application's system memory usage

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.