Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > MacCar


Reply
 
Share Thread Tools Display Modes
Old 11-05-2007, 11:32 AM   #1
The Lavender Tie Just
Made It Obvious
 
Rafster's Avatar
 
Join Date: Aug 2003
Location: Bonita, CA (Hop, Skip, and a Jump from Tijuana, Mexico)
Posts: 3,077
Rafster is a name known to allRafster is a name known to allRafster is a name known to allRafster is a name known to allRafster is a name known to allRafster is a name known to all
Tiger Virtual Memory Issue

Hi guys,

I have a Powerbook G4 1GHz with 1.2GB of RAM.

I think it's rediculous that when I have my Torrent tracker, Firefox, Adium, and Pages open, that when I look at my activity manager, I'm using close to 3GB of Virtual Memory.

1.2GB should be MORE than enough to be able to handle this using little or no v. mem.

I don't want to completely turn it off, because I know that sometimes it's important, but I want to limit it to only maybe 1GB or so...

Thanks,

Rafster
__________________
Post # 3000
Items for Sale

PM me!! Not using new Classifieds because I don't particularly like the way it works...

http://www.speedtest.net/result/133342788.png
Rafster is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 11-05-2007, 05:37 PM   #2
QCar Creator
 
Jirka Jirout's Avatar
 
Join Date: Jul 2005
Location: Netherlands
Posts: 577
Jirka Jirout is on a distinguished road
What does "using close to 3GB of Virtual memory" mean exactly? Is this the total size of the allocated memory? Or the sum of the allocated memory of the applications? VSIZE? RSIZE?

Does the computer work? I guess it does. So just quit Activity Monitor and let the OS do its job. Unless you really know how things work (in which case you would probably not be posting stuff like this ;-) ), the chance you can improve them is pretty minimal.

Just for your info, this is what things look like on my MBP with 2GB RAM with some 11 apps running (plus the system of course).

Code:
Processes: 88 total, 2 running, 3 stuck, 83 sleeping... 356 threads 17:36:35 Load Avg: 0.65, 0.56, 0.47 CPU usage: 7.56% user, 10.67% sys, 81.78% idl SharedLibs: num = 12, resident = 57M code, 276K data, 4024K linkedit. MemRegions: num = 15325, resident = 603M + 20M private, 847M shared. PhysMem: 252M wired, 789M active, 571M inactive, 1612M used, 428M free. VM: 12G + 368M 696345(0) pageins, 910637(0) pageouts

Jirka Jirout is offline   Reply With Quote
Old 11-05-2007, 06:21 PM   #3
CarFrontEnd Creator
 
iamgnat's Avatar
 
Join Date: Jul 2004
Location: NoVA
Posts: 867
iamgnat is on a distinguished road
Quote: Originally Posted by Rafster View Post
I think it's rediculous that when I have my Torrent tracker, Firefox, Adium, and Pages open, that when I look at my activity manager, I'm using close to 3GB of Virtual Memory.

I know FF and Safari 2.x can be VM hogs if you leave them running long enough. Usually quitting them and restarting frees up most of the memory, but not all. Apple drastically improved Safari's memory foot print with 3.0, so you might want to try it out over FF (I had switched to FF, but have gone to Safari 3.0 now).

I've had pages on my dual 800 G4 running for a couple of weeks now, and it's only using about 500MB between physical and swap so i'd say it's pretty stable. You might want to watch your tracker.

Quote:
1.2GB should be MORE than enough to be able to handle this using little or no v. mem.

That isn't really true in a modern OS like it used to be in the days of Window 3.x and 95. OS X uses the design of swapping out inactive memory whenever possible rather than stuffing the physical RAM full to the brim (Linux likes to do this). Each methodology has it's benefits, but Apple selected the best case for a desktop environment (I don't know if Server uses the other method or not) as the average user is only going to be using a small number of programs at once.

Quote:
I don't want to completely turn it off, because I know that sometimes it's important, but I want to limit it to only maybe 1GB or so...

There used to be a way to move the swap partition to another disk in 10.1 (and maybe 10.2?), but I haven't seen it since. This was more for performance gains (e.g. reduce contention if you were doing large numbers of reads/writes while also swapping) rather than controlling the size (though you could do that as well).

Jirka is right. Trust that the OS is doing the right thing. What you need to do is track which programs are eating up your RAM and VM, then complain to the developers/vendors that they need to improve their memory management and track down their leaks.

-dave
__________________
My pathetic worklog.
CarFrontEnd (now it's own sub-forum!!!!)
iamgnat is offline   Reply With Quote
Old 11-09-2007, 09:10 AM   #4
QCar Creator
 
Jirka Jirout's Avatar
 
Join Date: Jul 2005
Location: Netherlands
Posts: 577
Jirka Jirout is on a distinguished road
Quote: Originally Posted by iamgnat View Post
There used to be a way to move the swap partition to another disk in 10.1 (and maybe 10.2?), but I haven't seen it since.

It still works, we are playing around with this as a part of our experiments with booting from a solid-state storage devices (the computer boots from a CF card while swap and some data is on the hard drive).
Jirka Jirout is offline   Reply With Quote
Old 11-09-2007, 10:46 AM   #5
CarFrontEnd Creator
 
iamgnat's Avatar
 
Join Date: Jul 2004
Location: NoVA
Posts: 867
iamgnat is on a distinguished road
Quote: Originally Posted by Jirka Jirout View Post
It still works, we are playing around with this as a part of our experiments with booting from a solid-state storage devices (the computer boots from a CF card while swap and some data is on the hard drive).

Really? The info I had doesn't work any more as they had changed how swap worked either in 10.2 or 10.3. Can you send me the info you have on it? (yes I like being that anal about partitioning )

-dave
__________________
My pathetic worklog.
CarFrontEnd (now it's own sub-forum!!!!)
iamgnat is offline   Reply With Quote
Old 11-09-2007, 12:04 PM   #6
QCar Creator
 
Jirka Jirout's Avatar
 
Join Date: Jul 2005
Location: Netherlands
Posts: 577
Jirka Jirout is on a distinguished road
Quote: Originally Posted by iamgnat View Post
Really? The info I had doesn't work any more as they had changed how swap worked either in 10.2 or 10.3.

Ups, maybe I was not 100% clear. It is still possible to achieve this, but you have to use a different method:

http://www.math.columbia.edu/~bayer/OSX/swapfile/
Jirka Jirout is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the optimum amount of memory? Snootch Newbie 10 05-30-2004 01:51 PM
Power Seat Memory llmask General MP3Car Discussion 1 03-22-2004 12:14 AM
Via Epia 800 Memory issues... gospeed.racer General Hardware Discussion 1 02-27-2004 02:51 PM
Help with Real DOS, memory managers, and sound card drivers bombboyer Software & Software Development 7 04-11-2003 07:10 PM
Disable Virtual Memory? SexyCompGeek Software & Software Development 0 06-20-2000 06:57 PM



All times are GMT -5. The time now is 04:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics