PHP Allowed memory size of X bytes exhausted -


i'm using mpdf library create , download pdf files, example x1000 (singly using ajax) in loop.
error message series of files "allowed memory size of 268435456 bytes exhausted (tried allocate 261900 bytes)". read have set bigger memory_limit in configuration can't this, because 256m limit.

is there other solution error?

you can reduce memory usage 2 other ways without increasing memory limit...

  1. consider setting $mpdf->simpletables = true; if not need complex table borders, or $mpdf->packtabledata = true; if not mind processing time.
  2. packtabledata – use binary packing of table data reduce memory usage

both of increase processing time in order save memory usage.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -