I am trying to figure out why your kernel task is taking up a lot of memory.
As for these problems, did you install lion over SL?
It is a fundamental flaw in the way Apple has designed their software to handle random access memory.
Or, if you don't let apps that are known to have memory leaks idle when not in use, then there is no issue.
Disclaimer: This reply isn't directed at the OP. It is directed at any other forum users that read this thread looking for a functional solution for dealing with preventable issues related to memory leaks in software.
If the issue is really like you describe, it sounds more like a blizzard coding problem than an OSX issue. WoW should simply reserve more active ram instead of switching different textures from inactive to active and back again.
You most certainly are not running out of memory nor does it have anything to do with how OS X handles memory management. If you were running out of memory your Page Outs would be a huge number, and thus far in all your screenshots it is quite low as munkery advised. It's obvious there IS something wrong with your hardware or software, contrary to what you believe.
As it's a new machine and still covered by Apple Care, I'd take it in to an Apple Store.
You know, if Mac OS memory management is really bad, we can't really do anything.
So why don't you go to apple support and ask them?
With same amount of program running, I agree that Mac OS requires more memory to experience the same snappiness.
I'm not so sure about what to blame though. It may certainly be due to the lack of efficient memory management of Mac OS. It may be due to Mac versioned applications being less efficient (or horrible at freeing up memory). Memory issue is not 100% dependent on OS side.
I'm not sure what kind of reply you are looking for.
Do you want us to acknowledge Mac OS's memory management?
No, there are no memory leaks here that are worth worrying about. Firefox does have memory leaks, but it doesn't leak 6GB of memory over 2 days. And those that do exist are resolved when quitting the application.*This is memory being properly allocated by the OS, not leaked. For some reason, the OS just has issues "letting go" of the data stored in the RAM. Not to insult your intelligence, but I advise reading up on the difference between a memory leak and the system storing memory as intended. There is a big difference.
A memory leak is where allocated memory is not freed, even though it is never used again. Leaks cause your application to use ever-increasing amounts of memory, which in turn may result in poor system performance or (in iOS) your application being terminated.
I'm now sitting in the game, and everything seems fine. But every time you move, change the camera angle, or do anything that changes what you see on your screen, the game drops to 0 fps, making the game unplayable until you stop.
The simplest fix is to restart or shut down the Mac at the end of the day.
I notice things slowing down if my Macs run for two or more days without shutting down. Since there is no really good reason for running a Mac 24/7 for days, shutting down at the end of the day does the trick.
We can debate forever why this happens; just restart and move on...
http://www.newegg.com/Product/Product.aspx?Item=N82E16820231295
No, the machine came with Lion installed. I'm pretty sure that after a fresh restart, my kernel uses around 600-700MB, slowly increasing to at most 950MB and holding there. I believe the kernel in Lion is designed to use more memory if there is more available. If I remove one of the 4GB chips, I'm pretty sure it would go down to around 600MB.
I had the same sort of thing with WoW when I upgraded my MBP to Lion. There seems to be an issue with GPU throttling - to save battery (even if you're connected to the mains).
Try this. It worked for me...
https://forums.macrumors.com/showthread.php?p=13202033&#post13202033
http://developer.apple.com/library/...onceptual/MemoryMgmt/Articles/MemoryMgmt.html
The only difference between active and inactive memory is how recently it has been accessed. This is managed via reference counting, such as ARC.
http://blogs.remobjects.com/blogs/mh/2011/06/20/p2571
Apps with memory leakage contribute to a growth in inactive memory due to the unused memory that can't be freed being marked as inactive memory because the memory is no longer being accessed.
The memory leakage also doesn't allow the inactive memory to be freed due to the inability to free that memory being the cause of the memory leakage.
Quitting an app doesn't immediately cause the memory, both active and inactive, to be dereferenced from the app so a latency exists before the inactive memory associated with the app can be freed.
This explains why using purge is the only solution to free that inactive memory associated with those apps that have memory leaks given that you allow apps to idle and only quit apps just prior to wanting the memory allocated to a new process.
This also explains why not leaving apps idle when not in use mitigates memory leakage via preventing a growth in inactive memory linked to memory leakage and providing a longer duration for both active and inactive memory to be dereferenced prior to being reallocated.
I have 8gb in my iMac (1333mhz early 09 3.06) and it's kernel is using around 410-440, even playing Team Fortress 2 with all my other apps open, which had Snow Leopard installed prior. My Mac Pro (2.66ghz) with 18gb 800mhz FB uses no more than 430 with about 20 apps open on idle, had Lion installed freshly. My new Macbook pro i7 2.3 with 8gb of 1866mhz hyperx uses around 450 and goes up to 475, which this one had Lion was installed as a fresh copy as well.
I am wondering if it has anything to do with the amount of MB your kernel is using. Although it probably isn't, I'm concerned if a fresh copy of Lion would have any affect, if you haven't done so already.
But for some reason unbknownst to anybody that isn't "apple", that memory isn't being released when it is needed.
A memory leak is where allocated memory is not freed, even though it is never used again. Leaks cause your application to use ever-increasing amounts of memory, which in turn may result in poor system performance or (in iOS) your application being terminated.
And these memory leaks should be taken care of by the forced garbage collection when you quit the application that leaked the memory.
The latency you're speaking of is in the order of milliseconds and only has to happen once for each memory address.
But I still don't understand why the OS has such trouble releasing this inactive memory for new programs.
Yes it might take time for inactive memory to be dereferenced if I quit the program and my computer was just sitting idle. But when a game is querying the system for more RAM over and over, it seems like it would be a good idea to release some to it.
And my computer usually isn't RAM starved till I start WoW. I usually sat on about 700-1GB free RAM before launching the game. So it's not like my kernel task was RAM starved. And even now with 4GB+ free, my kernel task is still using close to a gig.
It's very disheartening to see how hard it is for some people to add 1+1 and get 2, or to even read the few short paragraphs written by the person they're replying to.
I'll say this one last time.
I only have problems when I have no free memory. Freeing up memory (via purge command, etc) is the only way to solve this problem. Please, continue to tell me memory isn't my issue. I'll be amused.
Please reread my post and tell me where I said it wasn't the memory. What I said was that the issue isn't OS X's memory management, which is quite clear given the information in your screenshots. How has that not sunk in yet?
I'll say this one last time....
It could be the physical memory you installed...it could be an issue with your logicboard....it could be memory leaks...it could be any number of other things. It most certainly isn't memory management. Unless you are here to purposely rag on OS X, take it in to an Apple Store and ask them what it is. No Apple Store nearby? Call the support line. The fact that you haven't done either is glaring.
Despite all the help munkery has given, you still reject the obvious. Props to him for being so patient.