Search code examples
javamacososx-mavericks

Gui application halting on OSX when left unattended


My (java based) Gui application processes digital music files, and is designed so it can be left unattended. I have noticed that if I leave it running overnight on my OSX Mavericks computer that it stops shortly after I leave it, only restarting when I touch the keybaord in the morning.

How can I prevent this, I do not have the same problem running the application on a Windows 8 machine.


Solution

  • Select your app in the Finder and "Get Info" and then check "Disable App Nap"… See the Apple Developer notes for Mavericks for more info