• Hi Guys,

    I’m trying to use this plugin on a site with 850 users and it wasn’t working. It would load the admin page but wouldn’t populate the user list and wouldn’t load anything after that, like the Subject field.

    I had to change my PHP memory limit on the server to 128M from 64M. Taking it down to 96M caused it to stop working again.

    Is the plugin really that inefficient, or is something else going on here?

    Anyone used the plugin with that many users, how much PHP memory did you have?

    Cheers,
    Jacob

    http://ww.wp.xz.cn/plugins/email-users/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    Email Users retrieves the list of users to populate the select box with using the WordPress get_users() function. Actual construction of the “Select” box is nothing more than looping over the results returned by get_users(). If is slow or consuming a lot of memory, I can only assume it is in the get_users() call.

    My development site has 806 users and I don’t have any issues. I wasn’t sure what the PHP limit was set to, I had to go look. Mine is set to 128MB which was the default when I installed IIS on the Virtual Machine I use for development.

    When I used Email Users with our Swim Team there were about 1000 users in that system. I no longer have access to the server so I don’t know what the PHP memory limit was set to but Email Users worked fine.

    Could memory be an issue? I guess so but I wouldn’t think something as frequently used as get_users() would have a problem like that. I’ll try decreasing the memory limit on my development set up and see what happens.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I just changed my memory limit to 64MB and had no problems with my 806 users. Do you have anything else running (other plugins?) that may be causing some sort of conflict?

    Thread Starter Jacob Peattie

    (@jakept)

    Hi Mike,

    We do have other plugins running, but they didn’t have any issues when we had the lower memory limit, so I’m assuming that the extra memory required was only for this plugin.

    We are using a membership plugin however, that may be interfering with users somewhere, but turning that off is a no go for now so I can’t tell you if it’s responsible.

    If you’ve tested the plugin with this many users and it’s fine, it’s likely the issue was on our end, but I wasn’t so sure at the time.

    We’ve solved the issue for now by upping the limit, and we’ve only got one client using it at the moment so I’m not really bothered. If we notice the issue again I’ll let you know.

    Cheers,
    jacib

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Memory Usag’ is closed to new replies.