Fatal Error Allowed Memory Size Exhausted

Fatal Error Allowed Memory Size Exhausted

0 1743

Question: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 83 bytes) in /home2/domainuser/public_html/filename.php on line 20

Answer: This type of error generally occurs due to memory's size. Default memory size in php is 128M i.e 128000000bytes. So to resolve the above error, you have to change the memory size in your php.ini file.

If you have not created a php.ini file on your folder at live then first create a php.ini file and then integrate the following code in it.

memory_limit = 512M

The size can be integrated according to your choice as per requirement.


Leave a Reply

    Waiting for your comments