Support » Plugin: Really Simple SSL » Out of memory

  • Resolved sancukosan

    (@sancukosan)


    Hi,

    After upgrading the plugin to the latest version (tested on 4.9.8), I have some issues that appears constantly in my error.log and it comes from Really Simple SSL plugin.

    Here is the error:

    [Wed Aug 15 21:53:08.844083 2018] [:error] [pid 8232:tid 8844] [client 81.3.111.155:55200] PHP Fatal error:  Out of memory (allocated 8388608) (tried to allocate 106496 bytes) in C:\\Bitnami\\wordpress-4.9.7-0\\apps\\wordpress\\htdocs\\wp-content\\plugins\\really-simple-ssl\\class-mixed-content-fixer.php on line 159
    [Wed Aug 15 21:53:08.844083 2018] [:error] [pid 8232:tid 8844] [client 81.3.111.155:55200] PHP Fatal error:  Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    
    VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.
    
    VirtualFree() failed: [0x000001e7] Attempt to access invalid address.
    
    VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.
    
    VirtualFree() failed: [0x000001e7] Attempt to access invalid address. 

    I tried to increase the memory_limit in php.ini, such as WP_MEMORY_LIMIT in wp-config.php, but I’m keep getting the problem.

    Any suggestion how can I fix this?

    Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Mark

    (@markwolters)

    Hi,

    this likely has to do with a server configuration and not so much with Really Simple SSL. Can you try to raise the memory limit to something like 2048M? It appears this error can sometimes occur on 32bit Windows systems, raising the memory limit should resolve the issue.

    Mark

    Thread Starter sancukosan

    (@sancukosan)

    Hi Mark,

    Thanks for the replay.

    Right now I have this configurations:

    php.ini:

    1. memory_limit = 4000M

    wp-config.php:

    1. define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
    2. define( ‘WP_MAX_MEMORY_LIMIT’, ‘2048M’);

    But, I still got some error issues.

    • This reply was modified 3 years, 1 month ago by sancukosan.
    • This reply was modified 3 years, 1 month ago by sancukosan.
    • This reply was modified 3 years, 1 month ago by sancukosan.
    • This reply was modified 3 years, 1 month ago by sancukosan.
    • This reply was modified 3 years, 1 month ago by sancukosan.
    Plugin Contributor Mark

    (@markwolters)

    The memory seems high enough, can you try to also make the WP_MEMORY_LIMIT 2048M to check if that resolves the issue?

    What server are you using exactly? You might have to contact your hosting company if the issue persists while the memory is high, possibly this is a server issue.

    Mark

    Thread Starter sancukosan

    (@sancukosan)

    Hi Mark,

    Our websites are hosted on our own VM with Windows Server 2016 64bit with 8GB of RAM and 4 processors.

    We are trying to resolve this issue, because sometimes randomly we getting this error and it crashes which don’t allow us to have 100% up time of the websites.

    Thanks for the answer, I will try to increase it and we will see how it will went.

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