A customer strolled in to our South Burlington store the other day with 17-inch unibody MacBook Pro, fully decked out with 8GB of RAM. Somehow, after a few hours of layout in Quark XPress, the machine would begin to bog down and beachball as if it were a Bondi blue iMac G3 with dial-up internet access.
He’d just spent the day working on a high-resolution project. By 4:00, he said, the system was so slow that he had to restart. The restart fixed things every time. I theorized that logging out and then logging back in would do the same thing. But rebooting didn’t address the root cause of the problem, and is very frustrating.
Our customer came in with the laptop sleeping and the problem in full force. I fired up Activity Monitor and immediately saw that there was no memory available. Mac OS X was deep into virtual memory reserves, which was undoubtedly causing the memory issues.
I’ve seen programs with memory leaks before—it’s not too uncommon actually. Usually, though, it’s apparent from Activity Monitor which application is to blame. This unfortunately was not this case here.
Taking a step back, I remembered that the 15- and 17-inch laptops now have discrete graphics cards as well as integrated graphics cards. The discrete, more powerful cards do not share RAM with the main system, and so should free up some memory as compared to the integrated option. I checked the Energy Saver preference pane to see the graphics performance settings. Surely enough, the machine was set to “better battery life” instead of “better performance.”
Selecting the higher performance option enabled the discrete graphics processor, stopping the computer’s use of main RAM as video RAM. It also had the wonderful effect of speeding up graphics-intensive operations.