My php script creates PDF on fly, the data comes from mysql db table it works fine till 30 records but more than that it says
I am dompdf from http://code.google.com/p/dompdf/
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 56214 bytes) in F:\xampp\htdocs\wiseworker\dompdf\lib\class.pdf.php on line 3043 however I have used ini_set("memory_limit","96550M"); and also set in php.ini
; Maximum amount of memory a script may consume (5120MB) ; http://php.net/memory-limit memory_limit = 96550M I also increase query execution time
if( !ini_get('safe_mode') ){ set_time_limit(0); } but it just limited around 45bytes to 65bytes and what will happen if mysql table contain hundreds of records?
echo ini_get('memory_limit');to make sure that your memory limit is set correctly.