Codeigniter Generate PDF for more than 1000 rows Codeigniter Generate PDF for more than 1000 rows codeigniter codeigniter

Codeigniter Generate PDF for more than 1000 rows


XAMPP's copy of php only uses a fixed amount of RAM, which might not be anywhere near your available resources. You may want to increase that based on your system.

File: \xampp\php\php.inimemory_limit = 512M

Or any other number (in MB) of available RAM that you would like to allow PHP to use.


You could try to generate an html file and pass it through htmldoc. But if you are running in a low memory environment, even that may not work.


I use fpdf for my PDF creation and have hit plenty bigger than 1000 rows.

I'd suggest the issue is in your data creation phase from what you say above. Can you output 1000 rows to HTML?

If not post the SQL etc and look at that instead