• Resolved francoc30

    (@francoc30)


    From time to time I get the following error in my error log. Looks like triggered by a couple of plugins. I already set the memory to max. in the server at 546mb. How else the error can be resolved? Is there anything I can/should do to resolve this. Thanks.

    20221010T150728: mysite.com/index.php 
     
    mmap() failed: [12] Cannot allocate memory 
     
    mmap() failed: [12] Cannot allocate memory 
    PHP Fatal error:  Out of memory (allocated 131072000) (tried to allocate 20480 bytes) in /serverpath/public_html/test/wp-content/plugins/elementor/includes/managers/controls.php on line 777
Viewing 4 replies - 1 through 4 (of 4 total)
  • it looks like Plugin needs more memory to run try deactivating the unused plugin/ or the plugin not in use, so that memory can be used by this plugin or replace the plugin with another alternative plugin and if you can’t then, at last, you would need to increase the memory by upgrade server or upgrade your hosting

    Thread Starter francoc30

    (@francoc30)

    I do have a couple of deactivated plugins. So you are saying deactivating plugins still use memory on the server. I need to delete them, right?

    Also what is the effect on the website or plugin if it cannot allocate enough memory. I still see the website functioning without any obvious adverse effect. Sorry I am not a techy, just try to understand more.

    • This reply was modified 2 years, 5 months ago by francoc30.

    No, disabled plugins are not executed and therefore do not interfere. However, there may still be data from them in the database that could still be used (depending on what kind of data it is). If you delete the plugins, the data should also disappear from the database (if the respective plugin developer has worked cleanly).

    It would be more interesting if you can see if these error messages occur with certain calls. If there are only certain URLs that lead to the error message, you could possibly draw a conclusion about a cause.

    Thread Starter francoc30

    (@francoc30)

    Thanks. I’ll keep an eye out.

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