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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

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


Go to End


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