{"id":11,"date":"2026-04-09T17:58:19","date_gmt":"2026-04-09T17:58:19","guid":{"rendered":"https:\/\/devthrow.com\/blog\/?p=11"},"modified":"2026-04-09T18:14:47","modified_gmt":"2026-04-09T18:14:47","slug":"how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory","status":"publish","type":"post","link":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/","title":{"rendered":"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you&#8217;ve ever run into that dreaded &#8220;PHP memory exhausted&#8221; error on your WordPress site, you\u2019re definitely not alone. It can feel frustrating\u2014your site suddenly halts, error messages pop up, and you&#8217;re left wondering what went wrong. But don\u2019t worry, this is one of those common hiccups that\u2019s usually pretty straightforward to fix.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In today\u2019s post, we\u2019ll walk through why the WordPress memory exhausted error happens and how to boost your PHP memory limit to get your site running smoothly again. Whether you\u2019re a seasoned WordPress user or just starting out, I\u2019ve got you covered with clear steps and a few tips to keep your site happy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is the WordPress Memory Exhausted Error?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Simply put, this error happens when WordPress runs out of the PHP memory allocated to it. PHP memory is kind of like the working space your site has to perform tasks, like loading plugins, running themes, or handling scripts. If your site exceeds this limit\u2014maybe because you\u2019re running heavy plugins or complex operations\u2014WordPress throws a fit and shows an error message like:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>&#8220;Allowed memory size of X bytes exhausted (tried to allocate Y bytes)&#8221;<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s WordPress telling you it can\u2019t squeeze any more into the memory it\u2019s been given.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Does This Happen?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are a few typical reasons:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Heavy plugins or themes:<\/strong> Some add-ons need more memory to run, especially page builders, SEO tools, or backups.<\/li>\n\n\n\n<li><strong>Low default PHP memory limit:<\/strong> Hosting environments often start with a modest memory allocation that\u2019s fine for small sites but restrictive for bigger ones.<\/li>\n\n\n\n<li><strong>Poorly optimized code or runaway scripts:<\/strong> Sometimes bugs or outdated code cause memory leaks.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Identifying the cause can help prevent future problems, but for now, increasing your PHP memory limit is usually a quick fix to get things back on track.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Increase PHP Memory Limit in WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s roll up our sleeves and tackle this step-by-step. Here are some of the most effective ways to increase your PHP memory limit.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Edit the wp-config.php File<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is probably the easiest method and works in most cases. Using an FTP client or your hosting file manager, find the wp-config.php file in your WordPress root directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open it and add this line just above the line that says \/* That&#8217;s all, stop editing! Happy blogging. *\/:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8216;256M&#8217;);<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This increases the limit to 256 megabytes, which is plenty for most sites. Save the file and reload your site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Modify the php.ini File<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have access to your server\u2019s php.ini file (the one controlling PHP settings), you can increase the memory by setting:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">memory_limit = 256M<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep in mind that some shared hosting providers do not allow direct changes to this file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Use .htaccess File<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For Apache web servers, adding this line to your .htaccess file can also bump up memory:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">php_value memory_limit 256M<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Be cautious with this one\u2014if your server doesn\u2019t allow overriding PHP values here, it might throw a server error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Contact Your Hosting Provider<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If none of the above options is accessible or effective, your host can usually increase PHP memory for you or guide you on the limits appropriate for your plan.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Extra Tips to Avoid Future Memory Issues<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Audit your plugins:<\/strong> Disable any that are rarely used or known to be resource hogs.<\/li>\n\n\n\n<li><strong>Keep WordPress and plugins updated:<\/strong> Often, developers optimize memory usage over time.<\/li>\n\n\n\n<li><strong>Use caching plugins:<\/strong> Caches reduce server load and can ease memory demand.<\/li>\n\n\n\n<li><strong>Optimize images and content:<\/strong> Large files increase processing needs and can indirectly spike memory use.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These habits will keep your site running lean and mean.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping It Up<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Running into the memory exhausted error can be nerve-wracking, but with a little detective work and the simple tweaks above, you can get your WordPress site back on solid ground quickly. Increase your PHP memory limit carefully, and keep your site tidy to minimize the chance of recharge errors in the future.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Have you faced this issue before? What tricks helped you solve it? Feel free to share your experience or ask questions\u2014I\u2019m always happy to chat WordPress troubleshooting!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next week, we\u2019ll dive into some top tips for speeding up your WordPress site without breaking a sweat, so stay tuned. Until then, happy site building!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve ever run into that dreaded &#8220;PHP memory exhausted&#8221; error on your WordPress site, you\u2019re definitely not alone. It can feel frustrating\u2014your site suddenly halts, error messages pop up,&hellip;<\/p>\n","protected":false},"author":1,"featured_media":15,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory - DevThrow<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory - DevThrow\" \/>\n<meta property=\"og:description\" content=\"If you&#8217;ve ever run into that dreaded &#8220;PHP memory exhausted&#8221; error on your WordPress site, you\u2019re definitely not alone. It can feel frustrating\u2014your site suddenly halts, error messages pop up,&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/\" \/>\n<meta property=\"og:site_name\" content=\"DevThrow\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/devthrow.fb\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-09T17:58:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-09T18:14:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devthrow.com\/blog\/wp-content\/uploads\/2026\/04\/wp-memory-limit.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2069\" \/>\n\t<meta property=\"og:image:height\" content=\"1381\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"David Mars\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Mars\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/\"},\"author\":{\"name\":\"David Mars\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#\\\/schema\\\/person\\\/f3fba9b80cc96433eafff4476e708e91\"},\"headline\":\"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory\",\"datePublished\":\"2026-04-09T17:58:19+00:00\",\"dateModified\":\"2026-04-09T18:14:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/\"},\"wordCount\":742,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/wp-memory-limit.jpg\",\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/\",\"url\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/\",\"name\":\"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory - DevThrow\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/wp-memory-limit.jpg\",\"datePublished\":\"2026-04-09T17:58:19+00:00\",\"dateModified\":\"2026-04-09T18:14:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/#primaryimage\",\"url\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/wp-memory-limit.jpg\",\"contentUrl\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/wp-memory-limit.jpg\",\"width\":2069,\"height\":1381},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/2026\\\/04\\\/09\\\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/\",\"name\":\"DevThrow\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#organization\",\"name\":\"DevThrow\",\"url\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/dev-throw-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/dev-throw-logo-1.png\",\"width\":350,\"height\":100,\"caption\":\"DevThrow\"},\"image\":{\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/devthrow.fb\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/#\\\/schema\\\/person\\\/f3fba9b80cc96433eafff4476e708e91\",\"name\":\"David Mars\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d266dbe7bd7e6268d6d25d744aca19cf84160cb81f63ff741312baa2102ad8ca?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d266dbe7bd7e6268d6d25d744aca19cf84160cb81f63ff741312baa2102ad8ca?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d266dbe7bd7e6268d6d25d744aca19cf84160cb81f63ff741312baa2102ad8ca?s=96&d=mm&r=g\",\"caption\":\"David Mars\"},\"sameAs\":[\"https:\\\/\\\/devthrow.com\\\/blog\"],\"url\":\"https:\\\/\\\/devthrow.com\\\/blog\\\/author\\\/devthrow\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory - DevThrow","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory - DevThrow","og_description":"If you&#8217;ve ever run into that dreaded &#8220;PHP memory exhausted&#8221; error on your WordPress site, you\u2019re definitely not alone. It can feel frustrating\u2014your site suddenly halts, error messages pop up,&hellip;","og_url":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/","og_site_name":"DevThrow","article_publisher":"https:\/\/www.facebook.com\/devthrow.fb\/","article_published_time":"2026-04-09T17:58:19+00:00","article_modified_time":"2026-04-09T18:14:47+00:00","og_image":[{"width":2069,"height":1381,"url":"https:\/\/devthrow.com\/blog\/wp-content\/uploads\/2026\/04\/wp-memory-limit.jpg","type":"image\/jpeg"}],"author":"David Mars","twitter_card":"summary_large_image","twitter_misc":{"Written by":"David Mars","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/#article","isPartOf":{"@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/"},"author":{"name":"David Mars","@id":"https:\/\/devthrow.com\/blog\/#\/schema\/person\/f3fba9b80cc96433eafff4476e708e91"},"headline":"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory","datePublished":"2026-04-09T17:58:19+00:00","dateModified":"2026-04-09T18:14:47+00:00","mainEntityOfPage":{"@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/"},"wordCount":742,"commentCount":0,"publisher":{"@id":"https:\/\/devthrow.com\/blog\/#organization"},"image":{"@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/#primaryimage"},"thumbnailUrl":"https:\/\/devthrow.com\/blog\/wp-content\/uploads\/2026\/04\/wp-memory-limit.jpg","articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/","url":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/","name":"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory - DevThrow","isPartOf":{"@id":"https:\/\/devthrow.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/#primaryimage"},"image":{"@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/#primaryimage"},"thumbnailUrl":"https:\/\/devthrow.com\/blog\/wp-content\/uploads\/2026\/04\/wp-memory-limit.jpg","datePublished":"2026-04-09T17:58:19+00:00","dateModified":"2026-04-09T18:14:47+00:00","breadcrumb":{"@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/#primaryimage","url":"https:\/\/devthrow.com\/blog\/wp-content\/uploads\/2026\/04\/wp-memory-limit.jpg","contentUrl":"https:\/\/devthrow.com\/blog\/wp-content\/uploads\/2026\/04\/wp-memory-limit.jpg","width":2069,"height":1381},{"@type":"BreadcrumbList","@id":"https:\/\/devthrow.com\/blog\/2026\/04\/09\/how-to-fix-the-wordpress-memory-exhausted-error-by-increasing-php-memory\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devthrow.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix the WordPress Memory Exhausted Error by Increasing PHP Memory"}]},{"@type":"WebSite","@id":"https:\/\/devthrow.com\/blog\/#website","url":"https:\/\/devthrow.com\/blog\/","name":"DevThrow","description":"Blog","publisher":{"@id":"https:\/\/devthrow.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devthrow.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/devthrow.com\/blog\/#organization","name":"DevThrow","url":"https:\/\/devthrow.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devthrow.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/devthrow.com\/blog\/wp-content\/uploads\/2026\/04\/dev-throw-logo-1.png","contentUrl":"https:\/\/devthrow.com\/blog\/wp-content\/uploads\/2026\/04\/dev-throw-logo-1.png","width":350,"height":100,"caption":"DevThrow"},"image":{"@id":"https:\/\/devthrow.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/devthrow.fb\/"]},{"@type":"Person","@id":"https:\/\/devthrow.com\/blog\/#\/schema\/person\/f3fba9b80cc96433eafff4476e708e91","name":"David Mars","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d266dbe7bd7e6268d6d25d744aca19cf84160cb81f63ff741312baa2102ad8ca?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d266dbe7bd7e6268d6d25d744aca19cf84160cb81f63ff741312baa2102ad8ca?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d266dbe7bd7e6268d6d25d744aca19cf84160cb81f63ff741312baa2102ad8ca?s=96&d=mm&r=g","caption":"David Mars"},"sameAs":["https:\/\/devthrow.com\/blog"],"url":"https:\/\/devthrow.com\/blog\/author\/devthrow\/"}]}},"_links":{"self":[{"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":2,"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":16,"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions\/16"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/media\/15"}],"wp:attachment":[{"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devthrow.com\/blog\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}