• Resolved albertramsbottom

    (@albertramsbottom)


    Memory limit is correct at 1024M but WP limit only shows 64M

    Why is this as I have define( ‘WP_MEMORY_LIMIT’, ‘1024M’ ); in my wp_config file

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author apasionados

    (@apasionados)

    Hi @albertramsbottom,

    The plugin gets the memory limit directly from the WordPress variable <a href="https://codex.www.ads-software.com/Editing_wp-config.php#Increasing_memory_allocated_to_PHP" rel="noopener" target="_blank">WP_MEMORY_LIMIT</a>. We show the content of the WP_MEMORY_LIMIT variable.

    So if it’s correctly defined it should be shown correctly.

    Best regards from Spain.

    Thread Starter albertramsbottom

    (@albertramsbottom)

    Hi

    Thanks but it is correctly defined

    define( 'WP_MEMORY_LIMIT', '512M' );
    define( 'WP_MAX_MEMORY_LIMIT', '768M' );
    /* That's all, stop editing! Happy blogging. */

    But your plugin shows:
    WP LIMIT: 64 MB

    Gracias

    Plugin Author apasionados

    (@apasionados)

    Hi there,

    We understood your point but we only show the content of the variable. And if we show 64MB, this is the value of the variable in WordPress. Maybe your hosting limits the Memory Limit in some way. Are you on shared hosting? On which hosting company do you host the site?

    Best regards from Spain.

    Thread Starter albertramsbottom

    (@albertramsbottom)

    It is shared hosting but very good shared hosting. Vidahost which is now TSOhost from a week ago. I have asked them and they assure me that my wordpress limit is 786MB, which is why I lowered the values but it still isnt showing in your plugin

    Thanks

    Plugin Author apasionados

    (@apasionados)

    Hi there,

    No idea why you don’t get the correct values. As we told you before, we only show the content of the variable WP_MEMORY_LIMIT that we get from WordPress. Try with another plugin to see if it shows another value, for example: Server Info.

    Best regards from Spain.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Memory Limit’ is closed to new replies.