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.
@Joe : I don't want to increase PHP's memory_limit. It is already high.
@Marko : Yes I must display all these objects data. But you're right I will write my template in a new way : I'll do the fetch stuff in a php module which could clear cache and then transmit only what's needed threw template variables.
Thanx again
You must be logged in to post messages in this topic!