• Resolved paradoxnode

    (@paradoxnode)


    When I write a new blogg-post I get an error:

    “Fatal error: Allowed memory size of 8388608 bytes exhausted
    (tried to allocate 280966 bytes) in
    C:/Program/wamp/www/wordpress/wp-includes/cache.php on line 48″

    How do I solve this?

    I’m using WAMP5 1.7.2 as webserver.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Not enough memory allocated to PHP.

    setting php.ini to something like the two examples below solves the problem in many cases:
    memory_limit = 16M
    or
    memory_limit = 32M

    You might have to check the WAMP documentation for more help on this subject.

    Thread Starter paradoxnode

    (@paradoxnode)

    I set the memory_limit to 16M and it solved my problem.

    Tnx alot!

    Place this code in you .htaccess file

    <FilesMatch “\.(php|html?)$”>
    php_value memory_limit 16M
    </FilesMatch>

    Please check with your host first and also check how much memory you may ad my host allows 32mb which makes the site so much faster.

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

The topic ‘Fatal error Allowed memory’ is closed to new replies.