Fatal error

Hello Guys

I got this error when execute data

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2696 bytes) in /var/www/test/yii/framework/db/CDbCommand.php on line 361

Any idea why I get this error?

That looks like the error you get when you use all the memory php is allowed to allocate for scripts.

You might check your php.ini and make sure the ‘memory_limit’ setting is appropriate.

Also try a forum search on "memory" or "circular". There are some issues with so called "circular references" in PHP that can cause memory problems. We had some discussions and possible solutions (e.g. try to not use behaviors with ActiveRecords, not sure if that is still valid though).