• I am using the “Local Version 9.2.2+6771” development tool to create my WordPress site locally. I was working on a page and suddenly got this error message:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 405504 bytes) in?/Users/academy/Local Sites/webdevmsd/app/public/wp-includes/class-wpdb.php?on line?231

    Now that page will not open without this error message. Is there any way to fix this? Can anyone please help me through the process if possible? I is a very complex page and I would hate to lose it. More so, I would hate to lose other pages because of memory issues. Any help will be greatly appreciated. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Based on your specification “Local Version 9.2.2+6771” I assume that you are using localwp? Then I would recommend that you contact their support forum if you have any questions: https://community.localwp.com/

    Once I had similar issue and I fixed it by increasing memory limit. You can try adding the line on wp-config.php

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

    Or if you are using local wp then open the “Site Folder>conf>php>php.ini.hbs” file and find memory_limit = 256M and you can increase it to memory_limit = 512M or more. Hope this will solve your issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.