CPU Memory management
Posted: December 13th, 2009, 4:04 pm
Sometimes I wish I knew more about the way certain things work, so I could have a better understanding of why something is occurring and how to fix it.
For example: When playing a game like NWN2 (do I mention that game too many times? I like it a lot)... the dragging and slowness of the game -- not to mention little bugs that keep me from, say, attacking someone/something or opening a chest without clicking a whole bunch of times and rearranging myself and trying again -- bothers me a lot. After a while it drives me crazy. But when I look at the Activity Monitor I see a lot of memory unused and a lot of memory locked.
My sense tells me that the OS is deliberately arranging free memory and locked memory as a sort of buffer for certain operations and also to prevent an unanticipated crash... but I'm not sure. There's an awful lot of free memory and locked memory. A lot of it. So I can't help thinking there must be a way to manipulate this.
Leopard doesn't have a program -- like OS9 did -- to allow me to manipulate -- no matter how limitedly -- the way memory is used. I've tried iFreeMem but it doesn't seem to help much, if at all. There must be a way to free up unused memory -- even if it risks the game suddenly crashing (I can monitor this anyway since the game never extends its usage much... except at the very end where it gets so bogged down with King of Shadows copies that it become unplayable because I can't make my characters do anything) that I can manage it pretty safely -- there must be a program out there that lets me free up that memory at will and then relinquish its control again to the OS. I haven't seen it on the Apple site (but then again I haven't gone through the entire list, yet, and it doesn't look like I can narrow down searches to the System/Utilities listings).
Bernie? You seem to be our resident Mac expert. Any ideas?
(edit: Perhaps the problem is that my OS is not allowing the game to utilize enough of the memory? It gets slow and choppy because the OS is restricting the memory is has access to? After 'optimization' I'm told that over 1200m of the memory is free, and on top of that some 320m of memory is locked.)
For example: When playing a game like NWN2 (do I mention that game too many times? I like it a lot)... the dragging and slowness of the game -- not to mention little bugs that keep me from, say, attacking someone/something or opening a chest without clicking a whole bunch of times and rearranging myself and trying again -- bothers me a lot. After a while it drives me crazy. But when I look at the Activity Monitor I see a lot of memory unused and a lot of memory locked.
My sense tells me that the OS is deliberately arranging free memory and locked memory as a sort of buffer for certain operations and also to prevent an unanticipated crash... but I'm not sure. There's an awful lot of free memory and locked memory. A lot of it. So I can't help thinking there must be a way to manipulate this.
Leopard doesn't have a program -- like OS9 did -- to allow me to manipulate -- no matter how limitedly -- the way memory is used. I've tried iFreeMem but it doesn't seem to help much, if at all. There must be a way to free up unused memory -- even if it risks the game suddenly crashing (I can monitor this anyway since the game never extends its usage much... except at the very end where it gets so bogged down with King of Shadows copies that it become unplayable because I can't make my characters do anything) that I can manage it pretty safely -- there must be a program out there that lets me free up that memory at will and then relinquish its control again to the OS. I haven't seen it on the Apple site (but then again I haven't gone through the entire list, yet, and it doesn't look like I can narrow down searches to the System/Utilities listings).
Bernie? You seem to be our resident Mac expert. Any ideas?
(edit: Perhaps the problem is that my OS is not allowing the game to utilize enough of the memory? It gets slow and choppy because the OS is restricting the memory is has access to? After 'optimization' I'm told that over 1200m of the memory is free, and on top of that some 320m of memory is locked.)