Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Aperture running at a crawl since lion upgrade

I upgraded to lion and my Mac, including aperture, is slow and pausing often. Will this improve on it's own?

Posted on Jul 20, 2011 3:43 PM

Reply
298 replies

Jul 26, 2011 11:17 AM in response to Jbrenner

I'm going to suggest something that may explain why sometimes things go badly for one person, and go well for the next person when moving to Lion.


Again it is the RAM issue. Mac OS X (like most OSes), is a virtual storage system which squeezes a lot of potential RAM demand into a much smaller amount of RAM.


What needs to be understood here is "working set".


Looking at my Activity Monitor beside me, I see that the Activity Monitor process itself is consuming about 95 MB of virtual memory, whereas it is using less than 20MB of real memory. "Real" memory is the physical stuff with the chips etc.


So how can 95 fit into 20? It can't, but what OS X has determined is that the "working set" of memory for the Activity Monitor process is less than 20MB. The working set is that part of the process's allocated memory which is getting a lot of use, and the rest is parked on disk in case it's needed. For example, it may be program code which is only used under unusual or different circumstances, such as text strings in languages other than the one I am currently using.


The tricky thing about "working set" is that while you have enough RAM to contain that "working set", everything tends to go very, very well. Evidence that it is working well is that "Page Outs" are zero (see Activity Monitor).


But if that working set grows, then you will eventually see Page Outs happening as OS X finds that it has to swap out pages to make room for other pages. (A "page" is 4K bytes).


Within reason, a little paging is OK. If Page Outs only happen a few times per minute, they probably won't hurt you much since they represent a work delay of only about 1/100th of a second (very approximately, don't shoot me for this estimate!).


The problem is that the difference between the working set fitting and not fitting in RAM can be catastrophic with only a slight change in the working set size. One minute, all is well, the next it's a mess. Or really, I should say one millisecond, all is well, and the next it is a mess. Things happen really quickly in RAM!


The best analogy is the freeway. We are all zipping along at near the speed limit in very heavy traffic, something happens in the opposite lanes causing gawking drivers to ever-so-slightly back off on the gas and slow down just a little, and the next thing, we have a traffic snarl.


Back to your Mac. In the pre-Lion situation, if your working set for the processes you choose to use is very, very close to filling your RAM, the move to Lion may push this over the edge, causing the "traffic snarl".


On the other hand, if you had plenty of spare RAM with Snow Leopard, the move to Lion will reduce that spare RAM, but not enough to cause paging to rise enough to hurt you.


How can you get some insight into waht will happen when moving to Lion? That's really hard, but what is for sure, if you are already getting Page Outs in any significant quantity, that quantity will rise with Lion unless you change your work habits (like run fewer apps at the same time). Page Outs under Snow Leopard should send off warning bells for you to get more RAM before going to Lion.


My advice is always to have more RAM than you need.


In another thread, a poster said something like "Sure, Apple said you can put Lion in a 2GB Mac, but they didn't say you'd enjoy it!"

Jul 26, 2011 1:02 PM in response to John Kitchen

I agree, it doesn't make any sense. I have the same problem and I use a Macbook Pro 15'' (2011 edition, base version) with Core i7 2.0 Ghz/4 GB RAM and Aperture run so slow that it's impossible to use. This is definitely a bug and Apple should fix it as soon as possible. Otherwise if Apple thinks that's ok they should change the name of Macbook Pro in "Macbook", because it's nonsense that a Pro machine can't run Aperture. In alternative they could specify in Aperture hardware requirements that you need a Mac Pro with 16 GB of RAM.

Jul 26, 2011 1:13 PM in response to sorinfromtoronto

Aperture process screen reads:

Real memory 3.06GB

Virtual Memory Size 6.95GB

Shared Memory Size 0bytes

Private Memory Size 2.79GB

Virtual Private Memory 3.12 GB


In the main ActivIty Monitor System Memory pane I have:

Free 1.78GB

Wired 1.28GB

Active 7.13GB

Inactive 1.81GB

Used 10.21GB


I have quite a bit running but Aperture is by far the biggest hog - next largest Real Memory usage is Lotus Notes with 553MB.


I think this tends to support a memory leak hypothesis which I'm coping with as I have a lot of RAM installed.

Jul 26, 2011 1:55 PM in response to Jbrenner

Whatever it was, when I excluded my Aperture library from Time Machine and then ran a "Repair Database" for good measure, I stopped seeing the beach ball.


I have a 2009 17" MacBookPro 2.66Ghz C2D with 8GB. I was experiencing this kind of crawling performance in Snow Leopard when I had 4GB but doubling that up quickly fixed the problem. I was surprised that Lion would have such a high demand for RAM but this looks like a bug to me.


In the meantime, repair your database by holding Option + CMD when you start Aperture. If it doesn't fix the over all slowness, it's bound to improve performance, specially if you have a large library.

Jul 26, 2011 6:17 PM in response to iPedro

Jsut stating the obvious here: repairing the database does not fix the memory leak. I must confess I did it, hoping for the impossible. It is cool to watch how the VM size grows from a few hundred meg to 4 GB while you edit the first photo.


Sorry I am repeating myself: this is almost certainly a serious memory manamegement problem in Aperture 3, triggered by the memory management changes in Lion. The only fix is a fix.


From Apple.


Or a downgrade to SL.

Jul 26, 2011 6:24 PM in response to c0r0n1t4 2

Check the OS Lion forum for instructions on returning to SL. How easy (or painful) it's going to be depends on how you have your system backed up. I use SuperDuper to make bootable clones on an external drive. In 20 minutes is was back on SL. If you use TimeMachine then you can make use of Apples' restore functionality they have baked into the Lion installation. If you don't have a current backup, then you are going to have to back up your data somewhere, erase and configure your internal hard drive, install SL from the original media and finally move back your data and apps. Good luck. I do feel your Lion pain.

Jul 27, 2011 12:12 PM in response to sorinfromtoronto

sorinforomtoronto, thank you for your expertise. You appear to be have more technical knowledge than I do. How would you explain the complete turn around that I've experienced?


I was having the same unusable slow performance described in this thread. I noticed that the problem would attenuate when I was away from home and eventually linked that behavior to Time Machine performing a back up. Now that I have excluded my Aperture Library from Time Machine, the problem has totally and completely disappeared! 😀


I've been following some of the diagnostic advice and have followed RAM and VRAM use. Page Outs are zero and I've been running through my 100,000 photo library for the past hour.


One consistent issue is full screen. It's a mess on Lion. I often get a blank screen and Aperture using 2 different spaces at once.

Aperture running at a crawl since lion upgrade

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.