Adding class extending Base_module_record to model causing 500?

edited August 2019 in Support

I'm using a simple module. As soon as I add the following to my model, the page goes 500 on me. Logs say "Allowed memory size of 134217728 bytes exhausted (tried to allocate 122421248 bytes)"

class Schedule_model extends Base_module_record { }

Comments

  • What do you have your memory settings for PHP set to?

  • memory_limit is set to 128M

  • Can you up it to 256M in your php.ini? Not sure what additional setup in your table/model may be requiring more memory.

  • that definitely helped... not sure what I'm doing that's taking up so much memory. I did add a join in my list_items & _common_query, but I wouldn't think that would take that much memory.

Sign In or Register to comment.