Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » mailing list problem

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

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

Page: 1
Go to End
Author Topic: 1406 Views
  • roterl
    Avatar
    Community Member
    44 Posts

    mailing list problem Link to this post

    Hi
    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.

    thanks,
    Rotem.

  • lubzee
    Avatar
    Community Member
    15 Posts

    Re: mailing list problem Link to this post

    Hi

    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.
    http://open.silverstripe.com/ticket/2756

  • roterl
    Avatar
    Community Member
    44 Posts

    Re: mailing list problem Link to this post

    Any idea how to solved this ?

    1406 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.