I know the topic has been beatin' like a dead horse, but I've run into an problem on a clients site. The failure happens when trying to access the CMS (admin section). Here's the error from the Apache error.log:
[Wed Apr 29 17:17:43 2009] [error] [client 18.104.22.168] PHP Fatal error: Out of memory (allocated 16252928) (tried to allocate 46 bytes) in /usr/local/www/vhosts/ropepartner.com/httpdocs/sapphire/forms/OptionsetField.php on line 70
Now, the hosting provider claims the PHP memory limit is set to 128M. As a check I made phpinfo() call in a script and phpinfo states the memory_limit is set to 128M. From the error, though, it looks like PHP is failing at around 16M.
Yep, tried that too. I only thing I can come up with is that it may be and issue with Apache and the RLimitMEM directive being set to 16 megs. I think PHP is running under FastCGI (I'm not sure yet, I haven't heard back from the hosting provider) and if so I believe that the memory limit set by RLimitMEM kicks in and will override any value set in php.ini or elsewhere.
The hosting provider is just a local one here in town. We have two other clients running SS on their hosts without any issues.