• I have a multisite.

    in my PHP settings i have max memory set at 512 mb

    Fatal error: Allowed memory size of 268435456 bytes exhausted

    i get this all the time. and thats only 256mb ram. waht can i do to get this to work? i cannot have that error shoing to my users when they ie. change theme. post a post.

    i also have this in my wp-config.php:

    define(‘WP_MEMORY_LIMIT’, ‘512M’);

    i host on a cpanel server with cent os and 24gb ram.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What plugins are you running?

    What brand of PHP are you using? (DSO, ModPHP, FastCGI…)

    (I got that error when I had Shell Fork protection turned on, but only when I ran things via command line)

    Thread Starter leisegang

    (@leisegang)

    FCGI i sort of fixed it i think?

    define(‘WP_MEMORY_LIMIT’, ‘1024M’);
    define(‘WP_MAX_MEMORY_LIMIT’, ‘1024M’);

    the last line fixed it because all errors were in the admin.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ah. Yeah, I can see that :/

    FastCGI uses more memory than other PHPs.

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