Hi,
I have a memory management issue - calling
$vd->customise($arrdata)->renderWith('MyTemplate');
over and over in a loop - and it is failing with memory limit. I've tried adding...
unset($vd);
unset($arrdata);
but this frees a tiny amount of memory and my reading of the php doc page is that it is only freeing the object, not the memory allocated by the object. To free that it would expect me to call it's decontructor first... it's "__destruct" method... I searched the code and couldn't find one... so...
what is the best way to manage memory for this in silverstripe?