Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

SS2.4.7 => memory exhausted -- lot of members


Go to End


806 Views

Avatar
dany_doo

Community Member, 13 Posts

25 March 2013 at 10:17am

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