1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fatal error when using email users

Discussion in 'Troubleshooting and Problems' started by cmeinck, Dec 8, 2010.

  1. cmeinck

    cmeinck Well-Known Member

    I created content and selected continue (all users that are valid and accept from admin). It generated the following error:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 46 bytes) in /pathtomy/public_html/forum/library/Zend/Db/Statement/Mysqli.phpon line 304
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You are hitting the PHP memory_limit. Basically the job is too big.

    First make sure you are not running in debug mode. Debug mode increases memory usage. If you have enabled debug in the library/config.php file then you need to remove this code from that file to disable debug mode:

    Code:
    $config['debug'] = 1;
    
    I was going to suggest decreasing the batch size for your mass email, but I don't see that option on the form.

    You can try increasing the memory_limit. See this post.

    You might also have to edit the library/XenForo/Application.php file (regarding this thread):

    Code:
    		@ini_set('memory_limit', 128 * 1024 * 1024);
    
     

Share This Page