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

SSzretter

macrumors newbie
Original poster
Aug 24, 2007
3
0
I have a server with 8 gigs of ram, and an application that is using 500 megs of physical ram, and 1.6 gigs of virtual. Is there a way to tell OS X to stop using so much virtual for this app, and to instead use my physical ram?

It is the only app running other than the normal OS X 10.5 stuff.
 

belvdr

macrumors 603
Aug 15, 2005
5,945
1,372
I'm not sure why you want to do this. The OS puts things into virtual memory when they haven't been used for awhile. So, it's not going to give you this huge boost in performance by trying to pin it in RAM.
 

Erendiox

macrumors 6502a
Oct 15, 2004
706
12
Brooklyn NY
Yea, what he said. OSX is really fantastic at utilizing the RAM you give it, whether it's budgeting a limited amount of RAM or maximizing speed with ample RAM. If the app is only using up 500mb of physical RAM then that's all it needs to run as fast as it can without slowing down for HD pageouts and pageins. Nothing you need to worry about.
 

Phil A.

Moderator emeritus
Apr 2, 2006
5,800
3,100
Shropshire, UK
Virtual memory on OS X is not the same as paged memory or virtual memory in Windows where it is paged out to disk: Just because an application is showing as having a virtual memory size of xGB, it doesn't mean it's paged that memory out to disk.
Have a look here for a bit more info on OS X memory management
 

Sayer

macrumors 6502a
Jan 4, 2002
981
0
Austin, TX
Memory management is very complicated in OS X. The only thing you should worry about is pageouts being more frequent than pageins. Open the Terminal and type: top

The last line before the columns of process info shows pageins and pageouts. If the pageouts are higher than the pageins, then you are using VM for swapping running processes. That is when you should worry, otherwise ignore it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.