Yii Framework Forum: Fatal error - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Fatal error Rate Topic: -----

#1 User is offline   nemo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 142
  • Joined: 24-February 10

Posted 22 June 2010 - 02:32 PM

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?
0

#2 User is offline   drech 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 100
  • Joined: 06-April 09

Posted 22 June 2010 - 03:38 PM

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.
0

#3 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,016
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 23 June 2010 - 01:27 AM

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).
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users