Forums / Developer / clear cache within template / Comment69133
Joe Kepley
Thursday 30 June 2011 8:19:54 am
Unfortunately, even if you could clear the global while rendering the template, you would likely wind up with a lot of unexpected problems as a result.
Your best bet is to increase PHP's memory_limit setting. You can also use cache-blocks and the View caching system to keep the memory usage down on subsequent requests.
Does that help?