I keep getting this error when I try to create a new page in my CMS. I have absolutely no clue what is causing it. Any help would be much appreciated.
[21-Aug-2012 15:54:28 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2238 bytes) in /Applications/MAMP/htdocs/SilverStripe/sapphire/core/Convert.php on line 106
I have seen some threads on this that say to increase the memory limit in php.ini but what I want to know is what caused this and is there a way to fix it without having to continually allocate more memory?
Alternatively look at the code in more detail - there memory is running out on that exact line of code - but it is likely that it is something higher in the stack trace that is the real culprit (e.g. a loop doing loads of stuff including calling this convert)