Forums / Developer / About memory_limit / Comment45189

Author Topic

Frederik Holljen

Tuesday 17 January 2006 6:51:00 am

Comment45189

There are two things that currently push the maximum memory used by Exponential currently. None of them occur frequently in production usage:
1. Template compilation. When a template is changed it is compiled into php code. The compilation process currently needs to hold all templates (also included ones, a recursive process) in memory. In eZ components we we only compile one template at the time regardless of any includes. This reduces memory usage.
2. The conversion of language XML files into more convenient and cacheable php files. Similarly to 1. the current converter needs to have all of the XML file in memory. The language files have become quite large over time which means that a lot of memory is used. This issue is addressed in eZ components.