user7843796
user7843796

Reputation:

Fatal Error: Allowed Memory Size Exhausted In XAMPP

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

Upvotes: 4

Views: 31243

Answers (3)

Chethan Gowda
Chethan Gowda

Reputation: 101

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

Upvotes: 2

nasty
nasty

Reputation: 7077

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

Then Restart the Apache server from XAMPP

Upvotes: 3

Insax
Insax

Reputation: 622

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

Upvotes: 10

Related Questions