Optimizing Your Mac message upon log in

Since upgrading to Ventura, every time I log in to my account I get a screen notification with the message "Optimizing Your Mac, Performance and battery life may be affected until completed". It's been months since I upgraded so I'm wondering if anyone knows why I'm getting this message? BTW, I'm on Ventura 13.4.

iMac 27″ 5K, macOS 13.4

Posted on May 26, 2023 5:22 PM

Reply

Similar questions

13 replies

Sep 5, 2023 5:50 AM in response to mandoskier

I have the same bug - and it is most certainly an Apple bug. You are supposed to see the optimizing message only after an OS upgrade or something that messes with shared executable libraries. As far as I can tell, this has to do with something in your home directory, presumably in the Library hierarchy. Evidence for this is that the problem happens only with some of the accounts on the machine, and because migrating an account with the problem to a new machine brings the problem along. Reloading the OS doesn't fix it - eventually I couldn't stand it any more and tried to rebuild the home directory for that account - which is much harder to do than you would think if you want to keep all of your data. For example, it isn't clear to me how you can move your email history (which is hidden away in the library) so that you have all the mailboxes you moved to your local machine, without making a mess. There is probably a simple fix that some engineer at Apple knows, where you get rid of some files in the Library so that the OS can rebuild whatever files it is having trouble (or doesn't have permission for) fixing. Apple should make some utility to clean up the Library - it isn't a bad as the Windows Registry, but the Library does accumulate problems. If anybody figures it out, it would be great to know how to fix this problem...

Sep 12, 2023 5:48 AM in response to mandoskier

My IMAC (Ventura 13.2.1 - 2019 3.2 GHz 6-Core Intel Core i7) Started this phenomenon suddenly. Startup goes fine. I log into the computer and a banner comes into the top right corner with the (Optimizing your computer performance may be affected...)


Then it hangs. I let it go for 15 hours, and still the spinning wheel of doom. I cannot access this computer. Tried power cycling, safe mode, recovery with first aid. Nothing works. The computer is stuck on this.


Is there a way to disable this before logging in. I need this computer for a classroom.

Sep 13, 2023 3:00 PM in response to Barney-15E

Barney is, without doubt, correct. Moreover, this behavior is account specific on my machine, suggesting that the problem lives in ~/.Library. It would be super useful be able to preserve your good stuff (email, messages, etc.) while reinitializing the messed up OS stuff that is causing the OS to think it has to re-Optimize each time you login. I've been told that even if the issue is some kind of permissions brain damage (as is often the Unix way), unlike the old days where you could just brute force chmod chown your way along to get the OS to clean stuff up, the security system in OS X does other magic. In this case, OS X seems to have fallen but can't get back up...


-Richard

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Optimizing Your Mac message upon log in

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