Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Frozonecold

macrumors 6502
Original poster
Mar 23, 2005
321
82
NorCal
I'm not sure if anyone else has experienced this issue, but for the last several days I have notice that apps will randomly close when I am not using them. There is no error, alert, warning, etc; the app simply closes silently. I have had to re-open Microsoft Excel 6 times today and I am afraid that if this keeps happening I may eventually lose some unsaved work. I have over 10gb of free memory and low resource usage. Has anyone else experienced this issue or have any ideas on what could be causing this?
 
  • Like
Reactions: osplo
I don’t know if it still works in Ventura
"How to Disable App Nap Completely in Mac OS X" https://osxdaily.com/2014/05/13/disable-app-nap-mac-os-x/
Code:
defaults write NSGlobalDomain NSAppSleepDisabled -bool YES
Only for an app
Code:
defaults write com.apple.AppName NSAppSleepDisabled -bool YES
https://gist.github.com/ActionScripted/7787397
Similar thread "How to turn off App Nap?" https://forums.macrumors.com/threads/how-to-turn-off-app-nap.2342386/
Thank you, I will give this a try!
 
I'd be interested to hear if disabling App Nap has any effect. My limited reading about App Nap is that it suspends background activity of application that are deemed not in use. I don't see any mention of application exiting or even their windows closing due to App Nap.

On the other hand, @bogdanw's posts often teach me new things.
 
I have had to re-open Microsoft Excel 6 times today

When Excel crashes when you start it up it often asks you if you want to use the unsaved version. Are you getting this message? In other words are the apps crashing or closing normally?
 
The issue ended up being low free space on my SSD! I moved my photos to an external SSD and now the issue is resolved!
 
  • Like
Reactions: osplo
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.