ConwayLife.com - A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

How to stop Golly napping on Mac OS 10.9+

For general discussion about Conway's Game of Life.

How to stop Golly napping on Mac OS 10.9+

Postby Andrew » January 21st, 2018, 8:12 am

Apple introduced a new "feature" called App Nap in Mac OS 10.9. See details here:

https://developer.apple.com/library/con ... X10_9.html

This causes problems if you want to run Golly in the background and do some sort of lengthy task like generate a large pattern for many steps or run oscar.lua on a large-period oscillator. Golly will be put to sleep and performance will basically drop to nothing. The solution is to disable app napping for Golly by opening a Terminal window and typing this command (after quitting Golly):

defaults write net.sourceforge.golly NSAppSleepDisabled -bool YES

The best way to put Golly in the background is to minimize its main window (so it appears in the dock) and then switch to some other app. That way Golly will never attempt to update the viewport or the status bar and so maximize the generating speed.
User avatar
Andrew
Moderator
 
Posts: 670
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest