Vheissu / Ci-Smarty

Smarty templating engine integration for Codeigniter 3.0+ with inbuilt theming and asset management.
http://ilikekillnerds.com
179 stars 43 forks source link

Allowed memory size of 536870912 bytes exhausted #29

Closed chenyfsg closed 10 years ago

chenyfsg commented 11 years ago

Hi,

I received the following error:

PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 370707 bytes) in ~application/third_party/Smarty/plugins/modifier.debug_print_var.php on line 46

But my phpinfo shows: memory_limit=512M

Which part is missing from my configuration?

Thanks for your help.

Vheissu commented 10 years ago

For anyone else reading, this can be caused when trying to dump large amounts of data like arrays or objects, or iterating through extremely large datasets.