Hi all,

I've been working on a project that has a fairly complex database and I've been using CakePHP as the framework. After expanding the database (adding some more tables) and then adding the appropriate models, PHP gives me the following:
Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in /Users/gid/Sites/primary-energy-research/cake/libs/model/model.php on line 452
Note that the file / line changes each time. This does, of course, mean that almost nothing appears in the logs except PHP telling me (again) of the problem. Is there anything anyone can think of (is my PHP memory limit just too low).
Any ideas on how to debug? I'm running MAMP.