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.

Archive /

Our old forums are still available as a read-only archive.

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

mailing list problem

Go to End

3 Posts   1668 Views


Community Member, 44 Posts

1 September 2008 at 7:30am

Edited: 01/09/2008 7:35am

I have problem with importing csv to the mailing list.
I have csv file with about 20000 emails on it. When I try to import it the browser stuck, and after very long time I get an out of memory error message (Fatal error: Out of memory (allocated 42991616) (tried to allocate 40 bytes) in /home/atax/www/www/sapphire/core/Object.php on line 336")
Next step I splitted the file into several files with 2000 emails each. Importing the first and the second files work well (although importing file with 4000 faild). But after that, adding another file fail with the out of memory error.

The server limit the php memory to 80M, but is it loading all the list when accessing the mailing list instead of just the 10 that visible?
Any idea ??

btw: I tried to manually modify the DB and change the group of emails in one mailing list, to other, (so it will have all the 8000 emails) and it also stuck with the memory issue.



Community Member, 15 Posts

2 September 2008 at 10:56pm


I had the same problem.. Importing a big list you would need the server memory limit set quite high. Displaying the mailing list loads the whole list to calculate the total entries for paging, every time.

I have run Xdebug on it and found that its in the MemberTableField.php where the problem lies. I am a php developer and I am trying to fix it.. but I am still new to silverstripe internals. If you get any word on this or have suggestions, please let me know.

I have submitted a bug report but no reply on it yet.


Community Member, 44 Posts

12 September 2008 at 6:46pm

Any idea how to solved this ?