Fatal Error: Allowed Memory Size Exhausted In XAMPP

21,412

Solution 1

Change the memory_limit option in your php.ini to your needs.

Solution 2

Change the memory_limit option in your php.ini to your needs.

Then Restart the Apache server from XAMPP

Solution 3

Change memory_limit to -1 in php.ini. i.e memory_limit=-1 You can find php.ini file in bin/php/

Share:
21,412
Admin
Author by

Admin

Updated on January 08, 2020

Comments

  • Admin
    Admin over 4 years

    Right now I was printing all of my data into a PDF using FPDF and those data contains pictures with a large image sizes. Then my the XAMPP promt like following text below. What is the following solution in order for me to proceed printing? Is their a solution without changing the images size?

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 50933016 bytes) in C:\xampp\htdocs\techgirl\reports\fpdf.php on line 1449
    

    Even I tried to change the memory limit in my php.ini into 900M nothing happen.

    enter image description here