• Resolved Tim

    (@tkaufmann)


    Hi,

    I’m on PHP 7.2 with WordPress 5.8.2 and Mailpoet 3.74.2.

    We try to run our websites with 64 MB of memory for the frontend and 384 MB for the backend. That allows us to serve quite a few users without the need for load balancing or other fancy stuff.

    Recently we upgraded from Mailpoet 2.x to 3.x on one of our pages and it started to frequently run out of memory. We observe a usage of 18 MB even on frontend pages where no Mailpoet forms are being rendered. That’s huge! Just upgrading from 3.70 to 3.74.2 took away almost another megabyte.

    Is there somebody in the dev team keeping an eye on this?

    Best regards,

    Tim

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there Tim,

    Thank you for your post here. The developers do certainly keep performance in mind (as mentioned here). As the MailPoet 2 and MailPoet 3 plugins have very different codebases, a change in memory usage when switching between the two would likely be expected.

    Just for clarification, what specific method are you using for checking memory usage on your site? (i.e. a “WP memory usage” type of plugin, or another tool?)

    Thread Starter Tim

    (@tkaufmann)

    Hey there,

    first of all – no offence implied, just my rusty English ??

    I’m testing using Query Monitor. We restarted the server and RAM usage lowered, but it’s still quite high for my taste:

    – WordPress Admin Dashboard, MailPoet enabled: 28.5 MB
    – WordPress Admin Dashboard, MailPoet disabled: 20.5 MB

    – Homepage with Signup Form (user logged out), MailPoet enabled: 21 MB
    – Homepage with Signup Form (user logged out), MailPoet disabled: 13.9 MB

    – Text only page without Signup Form (user logged out), MailPoet enabled: 19.5 MB
    – Text only page without Signup Form (user logged out), MailPoet disabled: 13 MB

    In comparison: Mailster.co adds like 2 MB both to the dashboard and the frontend.

    Best regards,

    Tim

    • This reply was modified 3 years, 3 months ago by Tim.
    • This reply was modified 3 years, 3 months ago by Tim.
    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there Tim,

    first of all – no offence implied, just my rusty English ??

    Don’t worry, your English is great! ??

    I’m testing using Query Monitor. We restarted the server and RAM usage lowered, but it’s still quite high for my taste:

    I installed Query Monitor on my test site, and can confirm I did also see a similar increase in memory usage.

    Discussing with the team though, it doesn’t look like there’s any quick way to just “decrease how much memory the plugin uses”. As discussed, the dev team does definitely keep performance in mind and follow best practices in coding, etc. However with the addition of new features/functionality, it looks like it also requires a bit more memory as well.

    It would be great if you could add this to our feedback board here, which is where the devs look for consideration on future features/changes in the plugin:
    https://mailpoet.canny.io/

    Perhaps in the future, there could be extra options to disable certain parts of the plugin so you can ensure you are only loading the minimum necessary ??

    In the meantime though, it looks like increasing the available memory on your server will be necessary to avoid running into those “out of memory” errors.

    Thread Starter Tim

    (@tkaufmann)

    It would be great if you could add this to our feedback board here, which is where the devs look for consideration on future features/changes in the plugin:
    https://mailpoet.canny.io/

    That’s what I will do. Thanks for getting back.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘High memory consumption’ is closed to new replies.