I run on-demand rather then the default it seems to save alot of memory, you should investigate using that, no client has ever complained.
I ended up settling on this in the template
To use on each server you need to disable and enable (that will then use from template) PHP service on each for so you should be able to do that on cli I would think.