• Resolved WillOfTheWeb

    (@willoftheweb)


    Hi

    I have just noticed that the plugin has stopped working on my site. The plugin says that it needs 64M to run and it only has 40M. I checked with my provider and they say I have 256M. I installed a plugin caller ‘Server Status’ and this also says I have 256M!

    Any advice appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author NextScripts

    (@nextscripts)

    Check your WordPress configuration and look for custom php.ini files.

    SNAP is using very simple PHP function $nxs_mLimit = ini_get(‘memory_limit’); to get memory limit.

    Thread Starter WillOfTheWeb

    (@willoftheweb)

    Resolved the problem. Seemingly the restriction was hard-coded into ./wp-includes/default-constants.php: define( ‘WP_MEMORY_LIMIT’, ’40M’ );

    Not sure how that got there!!??

    Don’t edit files in your wp-includes folder, they’ll get replaced with you update.

    just add the following to your wp-config.php file.

    define( 'WP_MEMORY_LIMIT', '256M' );

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Memory Problems’ is closed to new replies.