if you’re receive this error:
Fatal error: Out of memory (allocated 5742713) (tried to allocate 3358615 bytes) in /home/user/public_html/page.php on line xxx
then just add this code in your /public_html/.htaccess
RLimitMem max
Note: This will allow you the maximun memory available for your apache memory limit.
Fatal error: Out of memory allocated… Fixed