Viewing 5 replies - 1 through 5 (of 5 total)
  • @wp-entwickler.at

    No, there is no bug in the set_minimum_memory_limit() function.

    By default WordPress will set the memory_limit to 256M for Admin sessions.
    (Verify in wp-includes/default-constants.php and wp-admin/admin.php).

    To change the default add the following line to your wp-config.php:

    define( 'WP_MAX_MEMORY_LIMIT', '512M' );

    If the above info answers your question please mark this topic as ‘resolved’.

    dwinden

    Thread Starter wp-entwickler.at

    (@wp-entwicklerat)

    thanks for your fast reply!
    i know about the default wordpress memory limit.
    so therefore i set the WP_MAX_MEMORY_LIMIT.
    but that doesn’t solve the issue.
    the problem occurs if ithemes security is the only activated plugin.
    sorry ??

    @wp-entwickler.at

    I actually tested what I previously posted and it works fine over here …

    The iTSec plugin does not set the memory_limit to 256M when it is initialized or activated.
    It only does so temporarily when executing a File Change Detection scan or Database Backup, AND ONLY if the current memory_limit < 256M.

    After execution the value from the WP_MAX_MEMORY_LIMIT is also automatically restored by WordPress.

    But who knows I’m missing something … ??

    dwinden

    Thread Starter wp-entwickler.at

    (@wp-entwicklerat)

    ok. again thanks for the fast reply.
    probably i’m missing something..
    i appreciate your support and work. thanks.

    Thank you. I forgot about this and spent some hours troubleshooting a 100k+ products woocommerce install before I came across this post.

    • This reply was modified 8 years, 5 months ago by Lance.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘memory limit set to 256mb even if memory limit is set in ini above 256 mb’ is closed to new replies.