I using a plugin that crashes due to lack of memory. But I'm on a host (Pantheon) that uses git for file updates between a Dev server (where I have FTP access) and a Live server (where I have no FTP or SSH access). I can't change wp-config.php and commit the file because the database details are different between Dev and Live. php.ini files are not allowed, and PHP directives in .htaccess are not allowed.
How can I increase PHP memory for Live? Can I add a directive in a theme file? Like functions.php? Will that work for plugin memory?