Active Record Log

Hello. I have a problem with active record logging. I implemented logging by this tutorial: http://www.yiiframework.com/wiki/9/how-to-log-changes-of-activerecords/ , but sometimes it does not save new data. I can’t see any errors, except this php error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 78 bytes). Is it possible that recordlog is not working because of exhausted memory?

its likely you script runs out of memory before it gets to logging