This is probably more likely do to an issue with your hosting provider where there is not enough memory allocated to your hosting account for some complex scripts that require more.
Who do you host through? And you should run a test php file to see what kind of memory is allowable. You may need to get your host to give you more memory.
Regards