Reduce memory usage on OSX

After installing mysql using brew, we noticed the memory usage was insanely high for what we needed (just a local development serve).

It was showing in Activity Monitor at almost 500MB memory usage for running just 3 or 4 small databases on one of our developers machines.

Apparently when you install via Homebrew, the configuration defaults to something that would be more appropriate for a production server than a developer’s local machine.

The solution was to just override some of the my.cnf defaults as per Robby’s explanation here: http://www.robbyonrails.com/articles/2013/11/24/reducing-mysqls-memory-usage-on-os-x-mavericks



About Phil Smithson

Ultrarunner & CTO. Passions include Mobile app development, Scrum, Kanban, Wordpress and Symfony.

Leave a Reply

Your email address will not be published. Required fields are marked *


*