Forums » Fatal error: Allowed memory size of 8388608 bytes exhausted

RSS feed for this topic

Info

  1. Hi,
    I'm a teacher for a french university and I asked my students to test Omeka. We encountered the following error and we do not know how to fix it :

    near the end of a web page, this text appeared :

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 47 bytes) in /home/omeka6/www/application/libraries/Omeka/Record.php on line 427

    Could you help us on this ?

    Thanks

  2. When did this error appear? During installation, or when adding a new item? Are you running the latest version, 0.10?

  3. It appears as though you are running up against a memory limit error. Try this: open up the .htaccess file in the root of your application and add a line underneath the line that says 'php_value register_globals off', put another line that says 'php_value memory_limit 16M'. That should raise your memory limit enough to keep it from crashing. If it still crashes, raise that 16M line a little bit until it doesn't crash any more. Hope that helps.

  4. Thanks a lot !

Reply

You must log in to post.