Jump to:

5513 Posts in 1732 Topics by 1218 members

Customising the CMS

SilverStripe Forums » Customising the CMS » SS2.4.7 => memory exhausted -- lot of members

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 363 Views
  • dany_doo
    Avatar
    Community Member
    13 Posts

    SS2.4.7 => memory exhausted -- lot of members Link to this post

    we have a big database (over 22.000) of sport clubs (ClubPage) and every ClubPage has at least on entry in Member table..

    When trying to admin clubs:

    <?php
    class ClubAdmin extends ModelAdmin {

       public static $managed_models = array(
    'ClubPage'
    );

    search is working and I get my results in CMS.. but if I click to edit one club, i get following error:

    Allowed memory size of 118489088 bytes exhausted (tried to allocate 46 bytes) in /home/site33/web/sapphire/core/model/DataObject.php on line 350

    Sometimes it throws an error in MySQLDatabase.php on line where the nextRecord function is (i think 1081 or something)..

    ClubPage is DataObject with has_one Member.. and my Member DataObjectDecorator has one ClubPage..

    what I am missing here?!

    363 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.