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
http://code.google.com/p/dompdf/“rel=“nofollow”http://code.google.com/p/dompdf/。
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 56214 bytes) in F:xampphtdocswiseworkerdompdflibclass.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
我也增加了缓刑执行时间
if( !ini_get( safe_mode ) ){
set_time_limit(0);
}
但是,它仅将大约45个字节限制在65个字节上,如果我的片面表包含数百个记录,将会出现什么情况?