{"id":46828,"date":"2021-12-20T17:11:22","date_gmt":"2021-12-20T15:11:22","guid":{"rendered":"https:\/\/themeisle.com\/blog\/?p=46828"},"modified":"2025-05-30T12:58:22","modified_gmt":"2025-05-30T09:58:22","slug":"increase-wordpress-memory-limit","status":"publish","type":"post","link":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/","title":{"rendered":"How to Increase WordPress Memory Limit: 4 Easy Methods (Expert-Tested for 2025)"},"content":{"rendered":"\n<p>If you&rsquo;ve just seen an error that goes along the lines of: <code>&ldquo;Fatal error: Allowed memory size of X bytes exhausted&rdquo;<\/code> then <strong>you need to increase WordPress memory limit<\/strong>.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>What this error means is simply that WordPress tried to use more memory than what your web server allows. Usually, WordPress only uses around 40MB of memory. This is okay for small sites, but can be not enough if you like to use some more elaborate plugins or themes.<\/p>\n\n\n\n<p>Fortunately, there are ways to resolve this error. You can increase the memory limits in a couple of ways.<\/p>\n\n\n\n<p>In this guide, I&rsquo;ll show you <strong>four of the top solutions<\/strong>, and also explain what usually causes the error.<\/p>\n\n\n\n<div class=\"wp-block-group keyt\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong>Key Takeaways<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Edit your <code>wp-config.php<\/code> file to increase memory by adding or adjusting the <code>WP_MEMORY_LIMIT<\/code> line. Set to <code>256M<\/code>. This works in most cases.<\/li>\n\n\n\n<li>Use your hosting panel or <code>.htaccess<\/code>\/<code>php.ini<\/code> files to raise memory if wp-config changes don&rsquo;t take effect due to server limits.<\/li>\n\n\n\n<li>After increasing memory, monitor usage and remove bloated plugins or media to avoid hitting new limits or masking bigger issues.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n    \r\n    <style>\r\n        :root {\r\n        --jtoc-progress-bar-color: #4267cf;\n        }\r\n                    .wpj-jtoc.--jtoc-theme-none.--jtoc-has-custom-styles {\r\n        --jtoc-width: 100%;\n--jtoc-toc-padding: 24px;\n--jtoc-toc-border: 1px solid;\n--jtoc-toc-border-color: #dedede;\n--jtoc-background-color: #f6f7f9;\n--jtoc-header-height: 20px;\n--jtoc-header-margin: 0;\n--jtoc-header-padding: 0;\n--jtoc-title-color: #393939;\n--jtoc-title-font-size: 1.2em;\n--jtoc-title-label-font-weight: 400;\n--jtoc-body-margin: 16px 0 0 0;\n--jtoc-body-padding: 0;\n--jtoc-headings-margin: 10px 0 0 0;\n--jtoc-link-font-size: 1em;\n--jtoc-link-font-weight: 400;\n--jtoc-link-color: #848484;\n--jtoc-link-color-hover: #4a66c8;\n--jtoc-link-color-active: #4a66c8;\n        }\r\n        .--jtoc-the-content{\r\ndisplay:none;\r\n}\r\n.--jtoc-is-active>.wpj-jtoc--item-content>a:before{\r\nmargin-left:3px;\r\n}\r\n.wpj-jtoc--nav>.wpj-jtoc--items li a::before{\r\ncontent:'\\203A';\r\ndisplay:block;\r\nfloat:left;\r\nheight:100%;\r\nfont-weight:700;\r\ncolor:#4267CF;\r\nline-height: 20px;\r\nmargin-right: 3px;\r\n}\r\n.sidebar .wpj-jtoc--toc{\r\nborder:0;\r\npadding:0;\r\n}\r\n.sidebar .wpj-jtoc--header,\r\n.sidebar .wpj-jtoc--body{\r\nbackground:transparent;\r\n}\r\n\r\n.sidebar .--jtoc-is-active>.wpj-jtoc--item-content>a{\r\ntext-decoration:none;\r\n}\r\n.sidebar-left .widget-first{\r\nposition:sticky;\r\ntop:70px;\r\nmargin-bottom:1250px;\r\n}\r\n.sidebar-left{\r\ndisplay:none;\r\nmax-width:300px;\r\nposition:absolute;\r\nleft:-330px;\r\ntop:0;\r\nheight:100%;\r\n}\r\n@media only screen and (max-width: 1900px) {\r\n.single-post .sidebar-left{\r\ndisplay:none !important;\r\n}\r\n.--jtoc-the-content{\r\ndisplay:block;\r\n}\r\n@media only screen and (max-width: 400px) {\r\n.wpj-jtoc--item .wpj-jtoc--item-content{\r\nmargin-top:5px;\r\n}\r\n.wpj-jtoc--header-main .wpj-jtoc--title{\r\nfont-size:1.1em;\r\n}\r\n}    <\/style>\r\n\r\n\r\n    <!-- jtoc progress bar widget -->\r\n    <div class=\"wpj-jtoc--widget-progress --progress-top\">\r\n        <div class=\"wpj-jtoc--widget-progress-bar\"><\/div>\r\n    <\/div>\r\n\r\n<div id=\"wpj-jtoc\" class=\"wpj-jtoc wpj-jtoc--main --jtoc-the-content --jtoc-theme-none --jtoc-title-align-left --jtoc-toggle-icon --jtoc-toggle-position-right --jtoc-toggle-1 --jtoc-header-as-toggle --jtoc-headings-full-row-clickable --jtoc-floating-toc-top --jtoc-floating-has-shadow --jtoc-has-custom-styles --jtoc-is-unfolded\" >\r\n            \r\n    <!-- TOC -->\r\n    <div class=\"wpj-jtoc--toc \">\r\n                            <div class=\"wpj-jtoc--header\">\r\n                <div class=\"wpj-jtoc--header-main\">\r\n                                        <div class=\"wpj-jtoc--title\">\r\n                        <!-- <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-columns-3\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"\/><path d=\"M9 3v18\"\/><path d=\"M15 3v18\"\/><\/svg> -->\r\n                        <span class=\"wpj-jtoc--title-label\">Table of contents<\/span>\r\n                    <\/div>\r\n                                                        <\/div>\r\n            <\/div>\r\n                                <div class=\"wpj-jtoc--body\">\r\n                        <nav class=\"wpj-jtoc--nav\">\r\n                <ol class=\"wpj-jtoc--items\"><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-method-1-edit-the-wp-config-php-file\" title=\"Method 1. Edit the wp-config.php file\" data-numeration=\"1\" >Method 1. Edit the wp-config.php file<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-method-2-edit-the-htaccess-file\" title=\"Method 2. Edit the .htaccess file\" data-numeration=\"2\" >Method 2. Edit the .htaccess file<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-method-3-increase-memory-via-your-hosting-panel\" title=\"Method 3. Increase memory via your hosting panel\" data-numeration=\"3\" >Method 3. Increase memory via your hosting panel<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-method-4-edit-the-php-ini-or-user-ini-file\" title=\"Method 4. Edit the php.ini or .user.ini file\" data-numeration=\"4\" >Method 4. Edit the php.ini or .user.ini file<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-video-tutorial\" title=\"Video tutorial\" data-numeration=\"5\" >Video tutorial<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-what-s-really-causing-wordpress-memory-limit-errors\" title=\"What\u2019s really causing WordPress memory limit errors?\" data-numeration=\"6\" >What\u2019s really causing WordPress memory limit errors?<\/a>\r\n                    <\/div> <\/li><\/ol>            <\/nav>\r\n                                                        <\/div>\r\n            <\/div>\r\n<\/div>\r\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-method-1-edit-the-wp-config-php-file\">Method 1. Edit the wp-config.php file<\/h2>\n\n\n\n<p>As you may know, the wp-config.php file is the main configuration file for WordPress. You can find it in your site&rsquo;s root folder.<\/p>\n\n\n\n<p>It&rsquo;s mostly a text file, albeit it has various PHP definitions. inside. The way you increase WordPress memory limit through wp-config is by editing one of those definitions.<\/p>\n\n\n\n<p>Here&rsquo;s the step-by-step:<\/p>\n\n\n\n<p><strong>Step 1.<\/strong> Download\/open your wp-config for editing.<\/p>\n\n\n\n<p>Either use an FTP client to download wp-config to your desktop and then edit it from there, or use the <strong>File Manager<\/strong> tool in your hosting control panel to find wp-config in your site&rsquo;s root directory and edit it directly on the server.<\/p>\n\n\n\n<p>If you&rsquo;re not sure how to FTP into your server, <a href=\"https:\/\/themeisle.com\/blog\/how-to-use-filezilla\/\">here&rsquo;s a guide<\/a>.<\/p>\n\n\n\n<p><strong>Step 2.<\/strong> Change the memory limit definition.<\/p>\n\n\n\n<p>Look for a line that contains the text: <code>WP_MEMORY_LIMIT<\/code><\/p>\n\n\n\n<p>If you find such a line, edit the value next to it. You can make it <code>256M<\/code> to be safe. Like so:<\/p>\n\n\n\n<p><code>define( 'WP_MEMORY_LIMIT', '256M' );<\/code><\/p>\n\n\n\n<p>If no such line is already in the file, you can add it right above where it says <code>\/* That's all, stop editing! Happy blogging. *\/<\/code><\/p>\n\n\n\n<p>Use the same format, so: <code>define( 'WP_MEMORY_LIMIT', '256M' );<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=1526596677  fetchpriority=\"high\" decoding=\"async\" width=\"1468\" height=\"956\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png\" alt=\"wp memory limit\" class=\"wp-image-112151\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1468\/h:956\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 1468w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:667\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:500\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:33\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:369\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 369w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:610\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 610w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:921\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 921w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:227\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 227w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:299\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 299w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:207\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 207w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1468\/h:956\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wp-memory-limit.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"><\/figure>\n\n\n\n<p>This tells WordPress that it can use up to 256MB of memory. Those 256MB is a common choice that handles most sites.<\/p>\n\n\n\n<p><strong>Step 3.<\/strong> Save the file (and upload)<\/p>\n\n\n<div class=\"su-accordion su-u-trim\">\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span><strong>If you downloaded the file through FTP:<\/strong> <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p>Save the changes and upload it back to the server overwriting the old version.<\/p>\n\n\n<\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span><strong>If you edited the file through File Manager:<\/strong> <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p>Just save the changes.<\/p>\n\n\n<\/div><\/div>\n<\/div>\n\n\n\n<p>Now refresh your WordPress site or redo the action that caused the error. The &ldquo;memory exhausted&rdquo; error should disappear if this method is effective.<\/p>\n\n\n\n<p>&#128077; <strong>Pros:<\/strong> This is a straightforward solution. It will work in most scenarios and doesn&rsquo;t really require any server-level access. It directly targets WordPress&rsquo; memory allocation and is the most reliable way across most environments<\/p>\n\n\n\n<p>&#128078; <strong>Cons:<\/strong> WordPress cannot override the server&rsquo;s hard limit if the host has one. In other words, if your hosting provider has capped PHP memory at (say) 64MB at the server level, setting <code>WP_MEMORY_LIMIT<\/code> to 256M will not magically grant 256MB. This method only works up to the maximum allowed by the server.<\/p>\n\n\n\n\t\t<div class=\"ti-tweet-clear\"><\/div>\n\t\t\t<div class=\"ti-tweet_wrapper\">\n\t\t    \t<div class=\"ti-tweet_text\">\n\t\t    \t\t<a href=\"https:\/\/twitter.com\/share?text=Getting+the+%27%23WordPress+%23memory+limit%27+%23error%3F+Here%27s+how+to+fix+it+%284+methods%29+%F0%9F%92%BE&amp;via=themeisle&amp;related=themeisle&amp;url=https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\" target=\"_blank\" rel=\"nofollow\">Getting the '#WordPress #memory limit' #error? Here's how to fix it (4 methods) &#128190;<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class=\"ti-tweet_sharebtn\">\n\t\t    \t<a href=\"https:\/\/twitter.com\/share?text=Getting+the+%27%23WordPress+%23memory+limit%27+%23error%3F+Here%27s+how+to+fix+it+%284+methods%29+%F0%9F%92%BE&amp;via=themeisle&amp;related=themeisle&amp;url=https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\" target=\"_blank\" rel=\"nofollow\">Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-method-2-edit-the-htaccess-file\">Method 2. Edit the .htaccess file<\/h2>\n\n\n\n<p>On <a href=\"https:\/\/themeisle.com\/blog\/apache\/\">Apache<\/a>-based servers, the <code>.htaccess<\/code> file can override certain PHP settings if PHP is running as an Apache module. This file sits in the WordPress root folder. You can edit it normally &ndash; through Notepad or similar &ndash; and set a directive to increase the memory.<\/p>\n\n\n\n<p>Here&rsquo;s how:<\/p>\n\n\n\n<p><strong>Step 1.<\/strong> Find <code>.htaccess<\/code>.<\/p>\n\n\n\n<p>The <code>.htaccess<\/code> file in your site&rsquo;s root (same folder as <code>wp-config.php<\/code>). The only difficulty is that it&rsquo;s usually a hidden file, so depending on the tool you&rsquo;re using to access it, you might need to show hidden files to see it.<\/p>\n\n\n\n<p>If you&rsquo;re using FileZilla to FTP into the server, then you&rsquo;re going to see the file normally. However, once you download it to your desktop, this is when you need hidden files enabled to see it.<\/p>\n\n\n\n<p><strong>Step 2.<\/strong> Add PHP memory directive.<\/p>\n\n\n\n<p>Open <code>.htaccess<\/code> with Notepad or similar and add the following line at the top or before the <code># END WordPress<\/code> line:<\/p>\n\n\n\n<p><code>php_value memory_limit 256M<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=74899482  fetchpriority=\"high\" decoding=\"async\" width=\"2048\" height=\"536\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png\" alt=\"php memory limit\" class=\"wp-image-112152\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1920\/h:502\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 2048w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:79\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:268\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:201\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1536\/h:402\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 1536w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:13\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:126\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:208\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:314\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:77\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:102\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:71\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1920\/h:502\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-memory-limit.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"><\/figure>\n\n\n\n<p>This sets the PHP <code>memory_limit<\/code> to 256MB for your site, overriding the default.<\/p>\n\n\n\n<p><strong>Step 3.<\/strong> Save and upload.<\/p>\n\n\n\n<p>Save the file, upload it back to the server (override the original) and refresh your site or re-run the action that caused the error. If the <code>.htaccess<\/code> change is allowed by the host, your site should now be able to use 256MB of memory.<\/p>\n\n\n\n<p>&#128077; <strong>Pros:<\/strong> When permitted, this method changes the actual PHP environment limit for your site. It&rsquo;s effective for Apache servers running <code>mod_php<\/code>. The new limit applies to all PHP scripts, not just WordPress.<\/p>\n\n\n\n<p>&#128078; <strong>Cons:<\/strong> Many shared hosts running PHP in CGI\/FastCGI mode or with certain configurations disallow using <code>php_value<\/code> in <code>.htaccess<\/code>, which can lead to a &ldquo;500 Internal Server Error.&rdquo; If that happens, remove the line you added to <code>.htaccess<\/code> to restore your site. This method is also ineffective on non-Apache servers (or some managed WordPress hosts) where <code>.htaccess<\/code> is ignored altogether.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-method-3-increase-memory-via-your-hosting-panel\">Method 3. Increase memory via your hosting panel<\/h2>\n\n\n\n<p>Many hosting providers offer a web interface to change PHP settings without manually editing files.<\/p>\n\n\n\n<p>In cPanel (a popular hosting control panel, with hosts like <a href=\"https:\/\/themeisle.com\/blog\/go\/bluehost\/\" target=\"_blank\" rel=\"noopener nofollow\">Bluehost<\/a> for example), this is often done through tools like <strong>MultiPHP Manager<\/strong>, <strong>MultiPHP INI Editor<\/strong>, or <strong>PHP Config<\/strong>.<\/p>\n\n\n\n<p>Other hosts might have their own implementations of a hosting panel &ndash; like <a href=\"https:\/\/themeisle.com\/blog\/go\/hostinger\/\" target=\"_blank\" rel=\"noopener nofollow\">Hostinger<\/a>&lsquo;s hPanel &ndash; and provide similar tools in their dashboards.<\/p>\n\n\n\n<p>This method is generally very user-friendly and accomplishes the same result as editing <code>php.ini<\/code> directly (I talk about this in the next section).<\/p>\n\n\n\n<p>Here are the steps:<\/p>\n\n\n\n<p><strong>Step 1.<\/strong> Log into cPanel.<\/p>\n\n\n\n<p>Navigate to the control panel provided by your host and find the section for PHP settings. For example, if you host at Bluehost, you&rsquo;ll get a tool called <strong>MultiPHP INI Editor<\/strong> in the full cPanel dashboard (which you can access from the <em>Advanced<\/em> tab of your main Bluehost panel).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=2051890184  fetchpriority=\"high\" decoding=\"async\" width=\"1054\" height=\"515\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png\" alt=\"php ini bluehost\" class=\"wp-image-112153\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1054\/h:515\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 1054w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:147\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:500\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:375\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:24\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:235\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:388\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:145\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:191\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:132\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1054\/h:515\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-ini-bluehost.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"><\/figure>\n\n\n\n<p><strong>Step 2.<\/strong> Select your site\/domain.<\/p>\n\n\n\n<p>In the MultiPHP INI Editor, choose your domain or the location of your WordPress site. This will load the editable PHP configuration for that site.<\/p>\n\n\n\n<p><strong>Step 3.<\/strong> Edit memory limit.<\/p>\n\n\n\n<p>Scroll through the settings to find the <code>memory_limit<\/code> row. Enter your desired value (e.g. <code>256M<\/code>):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=2085023667  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png\"  decoding=\"async\" width=\"1480\" height=\"1123\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png\" alt=\"bluehost memory limit\" class=\"wp-image-112154\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1423\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 1480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:228\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:777\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:583\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:38\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:316\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 316w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:523\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 523w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:791\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 791w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:257\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 257w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:178\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 178w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1423\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 2x\"><noscript><img data-opt-id=2085023667  decoding=\"async\" width=\"1480\" height=\"1123\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png\" alt=\"bluehost memory limit\" class=\"wp-image-112154\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1423\/h:1080\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 1480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:228\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:777\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:583\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:38\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:316\/h:240\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 316w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:523\/h:397\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 523w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:791\/h:600\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 791w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:148\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:257\/h:195\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 257w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:178\/h:135\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 178w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1423\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/bluehost-memory-limit.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"></noscript><\/figure>\n\n\n\n<p><strong>Step 4.<\/strong> Save changes and test.<\/p>\n\n\n\n<p>Click <em>Apply<\/em> or <em>Save<\/em>. The configuration tool will update the relevant ini settings behind the scenes. Now your PHP memory limit for that site is increased. To confirm, you can go to <strong>Tools &rarr; Site Health &rarr; Info &rarr; Server<\/strong> in your WordPress dashboard. See the limit there:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=648079220  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png\"  decoding=\"async\" width=\"1427\" height=\"535\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png\" alt=\"php mem limit 1\" class=\"wp-image-112155\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1427w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:112\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:384\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:288\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:19\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:180\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:298\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:450\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:111\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:146\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:101\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 2x\"><noscript><img data-opt-id=648079220  decoding=\"async\" width=\"1427\" height=\"535\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png\" alt=\"php mem limit 1\" class=\"wp-image-112155\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1427w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:112\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:384\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:288\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:19\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:180\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:298\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:450\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:111\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:146\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:101\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/dpr:2\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"></noscript><\/figure>\n\n\n\n<p>&#128077; <strong>Pros:<\/strong> Using a hosting panel is the easiest method. There&rsquo;s now coding or manual file editing required. The interface ensures you edit the correct configuration file. It&rsquo;s also less error-prone since you&rsquo;re not hand-editing syntax.<\/p>\n\n\n\n<p>&#128078; <strong>Cons:<\/strong> Not every host offers such a panel, or it may be limited on basic plans. If your host&rsquo;s interface doesn&rsquo;t show an option for memory limit, you might be on a platform where you have to use a <code>php.ini<\/code> file or request support assistance.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-method-4-edit-the-php-ini-or-user-ini-file\">Method 4. Edit the php.ini or .user.ini file<\/h2>\n\n\n\n<p>The main PHP configuration file, <code>php.ini<\/code>, controls the default memory limit and other settings of <a href=\"https:\/\/themeisle.com\/blog\/php\/\">PHP<\/a> &ndash; the programming language running your site a layer below WordPress.<\/p>\n\n\n\n<p>On shared hosts, you often don&rsquo;t have access to the global <code>php.ini<\/code>, but many providers allow overrides via a custom <code>php.ini<\/code> or a <code>.user.ini<\/code> file in your account, which functions similarly to <code>php.ini<\/code>.<\/p>\n\n\n\n<p>Here&rsquo;s how to use this approach:<\/p>\n\n\n\n<p><strong>Step 1.<\/strong> Determine the correct file to use.<\/p>\n\n\n\n<p>Check your hosting for whether to use a custom <code>php.ini<\/code> or a <code>.user.ini<\/code>. You can get that info from the host&rsquo;s docs or based on what&rsquo;s already in your site&rsquo;s root folder once you FTP into it.<\/p>\n\n\n\n<p>Many modern shared hosts use <code>.user.ini<\/code> in the web root for custom PHP settings. If a <code>.user.ini<\/code> file doesn&rsquo;t exist in your root folder, you can create a blank text file and name it <code>.user.ini<\/code> (the leading dot is important).<\/p>\n\n\n\n<p><strong>Step 2.<\/strong> Add the memory limit setting.<\/p>\n\n\n\n<p>Once you&rsquo;ve identified the file you should be editing (<code>php.ini<\/code> or <code>.user.ini<\/code>) as per the previous step, now is the time to add (or update) a line looking like: <code>memory_limit = X<\/code><\/p>\n\n\n\n<p>Change the limit to something like:<\/p>\n\n\n\n<p><code>memory_limit = 256M<\/code><\/p>\n\n\n\n<p>This sets the PHP memory limit to 256MB for all PHP scripts running in that directory, which includes your WordPress installation.<\/p>\n\n\n\n<p><strong>Step 3.<\/strong> Save and verify.<\/p>\n\n\n\n<p>Save\/upload the file to your server. The new limit should take effect. To confirm, you can go to <strong>Tools &rarr; Site Health &rarr; Info &rarr; Server<\/strong> in your WordPress dashboard. See the limit there:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=648079220  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png\"  decoding=\"async\" width=\"1427\" height=\"535\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png\" alt=\"php mem limit 1\" class=\"wp-image-112155\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1427w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:112\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:384\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:288\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:19\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:180\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:298\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:450\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:111\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:146\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:101\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 2x\"><noscript><img data-opt-id=648079220  decoding=\"async\" width=\"1427\" height=\"535\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png\" alt=\"php mem limit 1\" class=\"wp-image-112155\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1427w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:112\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:384\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:288\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:19\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:180\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:298\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:450\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:111\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:146\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:101\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/dpr:2\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit-1.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"></noscript><\/figure>\n\n\n\n<p>If the new limit didn&rsquo;t take effect, you&rsquo;ll need to restart your server.<\/p>\n\n\n\n<p>&#128077; <strong>Pros:<\/strong> Adjusting <code>php.ini<\/code> (or <code>.user.ini<\/code>) changes the memory limit at the PHP configuration level. This is a rock-solid solution because it isn&rsquo;t WordPress-specific. If your host permits custom ini files, this method effectively raises the ceiling that WordPress and other scripts can use. It&rsquo;s especially useful if the wp-config.php method didn&rsquo;t work due to a server-imposed cap.<\/p>\n\n\n\n<p>&#128078; <strong>Cons:<\/strong> Not all shared hosts allow users to override PHP settings. It can also be tricky to locate the correct <code>php.ini<\/code> if multiple PHP versions exist on the server. Always ensure you&rsquo;re editing the correct file for your active PHP version. If uncertain, contacting your host support can save time.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-video-tutorial\">Video tutorial<\/h2>\n\n\n\n<p>Here&rsquo;s a video that shows how to implement all the methods to increase WordPress memory limit covered above:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"4 Ways to Increase WordPress Memory Limit (Beginner Guide)\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/MJFo_R1noBs?feature=oembed&amp;enablejsapi=1&amp;origin=https:\/\/themeisle.com\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-what-s-really-causing-wordpress-memory-limit-errors\">What&rsquo;s really causing WordPress memory limit errors?<\/h2>\n\n\n\n<p>Okay, so your WordPress decides it&rsquo;s just run out of memory, but what does this <em>really<\/em> mean?<\/p>\n\n\n\n<p>Understanding why these memory errors occur can help you prevent them in the future. After all, you cannot keep increasing the memory limit indefinitely.<\/p>\n\n\n\n<p>On shared hosting, resources are limited and multiple websites share the same server, which makes efficient use of memory crucial.<\/p>\n\n\n\n<p>Here are some common causes of the WordPress memory exhausted error:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Heavy or poorly optimized plugins\/themes. Plugins or themes that are very feature-rich, large, or coded inefficiently can consume large amounts of memory. If you add a new plugin or theme and start seeing memory errors, it&rsquo;s a sign that it may be resource-hungry. For example, some visual <a href=\"https:\/\/themeisle.com\/blog\/wordpress-page-builders\/\">page builders<\/a>, analytics plugins running own custom tracking (very common), or <a href=\"https:\/\/themeisle.com\/blog\/wordpress-security-plugins\/\">security suites<\/a> might load a lot of data into memory.<\/li>\n\n\n\n<li>The total number of plugins matters as well. Even well-built plugins use memory, so having an excessive number of active plugins can collectively eat up on that memory. Regularly auditing your plugins can free up memory for essential tasks.<\/li>\n\n\n\n<li>Uploading or processing large images, videos, or other media can spike memory usage, too. WordPress automatically creates multiple resized versions of each images on upload, which can be memory-intensive for big files. If your site deals with lots of high-resolution images, you may hit the memory limit during image manipulation. This is why large images can be memory hogs, and optimizing images is important (you might want to use <a href=\"https:\/\/optimole.com\/\" target=\"_blank\" rel=\"noopener\">Optimole<\/a> for that).<\/li>\n\n\n\n<li>Certain background processes require significant memory. A prime example is <a href=\"https:\/\/themeisle.com\/blog\/free-wordpress-backup-plugins\/\">backup plugins<\/a>. When creating a full site backup (zipping up files and database), they can easily use hundreds of MB of PHP memory. Users often report memory exhaustion during backup jobs. Security scanners or malware cleanup plugins that go through all files, as well as import\/export plugins or bulk data import tools, can also need more memory than usual.<\/li>\n\n\n\n<li>Lastly, over time, as your site&rsquo;s content, traffic, and functionality grow, you may legitimately need more memory from your web host. A site that started small on a cheap shared plan can easily outgrow those limits as you add more posts, install some large plugins (like WooCommerce), receive more visitors, etc. If you consistently hit the memory ceiling, it might indicate your site has outgrown the current hosting resources and it&rsquo;s time to consider upgrading your plan. This may involve moving to a higher tier, or switching to a different type of plan or host. When searching for <a href=\"https:\/\/themeisle.com\/blog\/best-wordpress-hosting\/\">a new host<\/a>, I recommend paying careful attention to the amount of memory allocated as part of each plan. Wherever possible, try to find a provider that offers a default memory limit of 256 MB or higher.<\/li>\n<\/ul>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Most of the time, you can upload files to your site and install additional software without any issues. However, at some point you may encounter the WordPress memory limit error.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n\t\t<div class=\"ti-tweet-clear\"><\/div>\n\t\t\t<div class=\"ti-tweet_wrapper\">\n\t\t    \t<div class=\"ti-tweet_text\">\n\t\t    \t\t<a href=\"https:\/\/twitter.com\/share?text=Getting+the+%27%23WordPress+%23memory+limit%27+%23error%3F+Here%27s+how+to+fix+it+%284+methods%29+%F0%9F%92%BE&amp;via=themeisle&amp;related=themeisle&amp;url=https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\" target=\"_blank\" rel=\"nofollow\">Getting the '#WordPress #memory limit' #error? Here's how to fix it (4 methods) &#128190;<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class=\"ti-tweet_sharebtn\">\n\t\t    \t<a href=\"https:\/\/twitter.com\/share?text=Getting+the+%27%23WordPress+%23memory+limit%27+%23error%3F+Here%27s+how+to+fix+it+%284+methods%29+%F0%9F%92%BE&amp;via=themeisle&amp;related=themeisle&amp;url=https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\" target=\"_blank\" rel=\"nofollow\">Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n<\/div>\n<\/div>\n\n\n\n<p>Luckily, increasing the PHP memory limit using the methods in this post is pretty easy and it will fix the immediate error. In fact, setting the limit to 128MB or 256MB is often sufficient for most sites. However, be mindful that raising the memory limit is not a license to ignore inefficiencies.<\/p>\n\n\n\n<p>After bumping up the memory, keep an eye on usage. Use the Site Health info to see how much memory is typically used. If you&rsquo;re nearing the new limit, identify which plugin or process is using so much. Regularly clean up unused plugins and media.<\/p>\n\n\n\n<p>Also, remember that on shared hosting, you are ultimately constrained by what the host allows. If you&rsquo;ve tried editing <code>wp-config.php<\/code> or <code>php.ini<\/code> but the memory limit won&rsquo;t adjust, it&rsquo;s likely your host has enforced a cap. If that&rsquo;s the case, you might have to consider an upgrade. &#129335;&zwj;&#9794;&#65039;<\/p>\n\n\n\n<p>&#128073; For other tips on WordPress issues like this one, check out <a href=\"https:\/\/themeisle.com\/blog\/wordpress-troubleshooting-beginners-guide\/\">our guide to WordPress troubleshooting<\/a>. We also have a guide on how to fix the <a href=\"https:\/\/themeisle.com\/blog\/wordpress-errors\/\">20+ most common WordPress errors<\/a>.<\/p>\n\n\n\n<p><strong><em>Do you have any questions about how to solve this common WordPress error? Let us know in the comments section below!<\/em><\/strong><\/p>\n\n\n<style>.ticss-d144f107 strong{font-weight: 700;\n    letter-spacing: -0.2px;\n    line-height: 1.2;\n    display: inline-block;}<\/style>\n\n\n<div class=\"wp-block-columns speed-guide has-white-color has-text-color has-background has-link-color wp-elements-2f81f6c5526477b5b4d52d1ca4513949 is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#4267cf\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:40%\">\n<figure class=\"wp-block-image size-medium\"><img data-opt-id=30701221  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\"  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\"><noscript><img data-opt-id=30701221  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\" sizes=\"(max-width: 300px) 100vw, 300px\"></noscript><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center ticss-58e79f2f\" style=\"font-size:14px\"><strong>FREE GUIDE<\/strong><\/p>\n\n\n\n<p class=\"ticss-d144f107\" style=\"font-size:25px\"><strong>4 Essential Steps to Speed Up Your&nbsp;WordPress Website<\/strong><\/p>\n\n\n\n<p class=\"ticss-3b627beb\">Follow the simple steps in our 4-part mini series and reduce your loading times by 50-80%.&nbsp;&#128640;<\/p>\n\n\n<p><\/p><div class=\"frm_forms  with_frm_style frm_style_themeisle\" id=\"frm_form_4_container\" data-token=\"8e175353d9f13cc755b8784b236fa962\">\n<form enctype=\"multipart\/form-data\" method=\"post\" class=\"frm-show-form  frm_pro_form \" id=\"form_site-speed-guide-below-post\" data-token=\"8e175353d9f13cc755b8784b236fa962\">\n<div class=\"frm_form_fields \">\n<fieldset>\n<legend class=\"frm_screen_reader\">Site Speed Guide - Below Post<\/legend>\r\n\r\n<div class=\"frm_fields_container\">\n<input type=\"hidden\" name=\"frm_action\" value=\"create\">\n<input type=\"hidden\" name=\"form_id\" value=\"4\">\n<input type=\"hidden\" name=\"frm_hide_fields_4\" id=\"frm_hide_fields_4\" value=\"\">\n<input type=\"hidden\" name=\"form_key\" value=\"site-speed-guide-below-post\">\n<input type=\"hidden\" name=\"item_meta[0]\" value=\"\">\n<input type=\"hidden\" id=\"frm_submit_entry_4\" name=\"frm_submit_entry_4\" value=\"bdb27ceb68\"><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/46828\"><input type=\"hidden\" name=\"item_meta[18]\" id=\"field_6px6q2\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/46828\" data-frmval=\"\/blog\/wp-json\/wp\/v2\/posts\/46828\">\n<div id=\"frm_field_15_container\" class=\"frm_form_field form-field  frm_required_field frm_none_container\">\r\n\t<label for=\"field_6px6q\" id=\"field_6px6q_label\" class=\"frm_primary_label\">Your Email\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\">*<\/span>\r\n\t<\/label>\r\n\t<input type=\"email\" id=\"field_6px6q\" name=\"item_meta[15]\" value=\"\" autocomplete=\"email\" placeholder=\"your@email.com\" data-reqmsg=\"Your Email cannot be blank.\" aria-required=\"true\" data-invmsg=\"Your Email is invalid\" aria-invalid=\"false\">\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_17_container\" class=\"frm_form_field form-field  frm_none_container vertical_radio\">\r\n\t<div id=\"field_6px6q3_label\" class=\"frm_primary_label\">Subscribe to our newsletter\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\"><\/span>\r\n\t<\/div>\r\n\t<div class=\"frm_opt_container\" aria-labelledby=\"field_6px6q3_label\" role=\"group\">\t\t<div class=\"frm_checkbox\" id=\"frm_checkbox_17-0\">\t\t\t<label for=\"field_6px6q3-0\">\n\t\t\t<input type=\"checkbox\" name=\"item_meta[17][]\" id=\"field_6px6q3-0\" value=\"true\" data-invmsg=\"Subscribe to our newsletter is invalid\" aria-invalid=\"false\"> Subscribe to our newsletter<\/label><\/div>\n<\/div>\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_14_container\" class=\"frm_form_field form-field \">\r\n\t<div class=\"frm_submit frm_flex\">\r\n<button class=\"frm_button_submit frm_final_submit\" type=\"submit\" formnovalidate=\"formnovalidate\">FREE ACCESS<\/button>\r\n\r\n\r\n\r\n<\/div>\r\n<\/div>\n\t<input type=\"hidden\" name=\"item_key\" value=\"\">\n\t\t\t<div id=\"frm_field_24_container\">\n\t\t\t<label for=\"field_t5h3r\">\n\t\t\t\tIf you are human, leave this field blank.\t\t\t<\/label>\n\t\t\t<input id=\"field_t5h3r\" type=\"text\" class=\"frm_form_field form-field frm_verify\" name=\"item_meta[24]\" value=\"\">\n\t\t<\/div>\n\t\t<input name=\"frm_state\" type=\"hidden\" value=\"tGKtIG19U6wyYcew8uBttbQipFCh0ZX1BcHTpumcttgwF9M0QAXa6pd1+Qu8+H8p\"><\/div>\n<\/fieldset>\n<\/div>\n\n<p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"ak_\"><label>&Delta;<textarea name=\"ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"ak_js\" value=\"148\"><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><\/form>\n<\/div>\n\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"If you&#8217;ve just seen an error that goes along the lines of: \u201cFatal error: Allowed memory size of X bytes exhausted\u201d then you need to increase WordPress memory limit. What this error means is simply that WordPress tried to use more memory than what your web server allows. Usually, WordPress only uses around 40MB of memory. This is okay for small sites, but can be not enough if you like to use some more elaborate plugins or themes.","protected":false},"author":5,"featured_media":112161,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_stopmodifiedupdate":true,"_modified_date":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[272],"tags":[4065],"hashtags":[],"class_list":["post-46828","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tutorials","tag-popular"],"wppr_data":{"cwp_meta_box_check":"No"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.8 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Increase WordPress Memory Limit: 4 Ways (Expert-Tested)<\/title>\n<meta name=\"description\" content=\"Find out how to increase WordPress memory limit. This is the method you need if you&#039;re seeing the &quot;allowed memory size exhausted&quot; error.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Increase WordPress Memory Limit: 4 Ways (Expert-Tested)\" \/>\n<meta property=\"og:description\" content=\"Find out how to increase WordPress memory limit. This is the method you need if you&#039;re seeing the &quot;allowed memory size exhausted&quot; error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\" \/>\n<meta property=\"og:site_name\" content=\"Themeisle Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-20T15:11:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-30T09:58:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2180\" \/>\n\t<meta property=\"og:image:height\" content=\"1090\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Karol K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Increase WordPress Memory Limit: 4 Ways (Expert-Tested)\" \/>\n<meta name=\"twitter:creator\" content=\"@iamkarolk\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karol K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\"},\"author\":{\"name\":\"Karol K\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/fdae8d9189aff08a5eaef8f6fb4e22b9\"},\"headline\":\"How to Increase WordPress Memory Limit: 4 Easy Methods (Expert-Tested for 2025)\",\"datePublished\":\"2021-12-20T15:11:22+00:00\",\"dateModified\":\"2025-05-30T09:58:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\"},\"wordCount\":2382,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png\",\"keywords\":[\"Popular\"],\"articleSection\":[\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\",\"url\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\",\"name\":\"How to Increase WordPress Memory Limit: 4 Ways (Expert-Tested)\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png\",\"datePublished\":\"2021-12-20T15:11:22+00:00\",\"dateModified\":\"2025-05-30T09:58:22+00:00\",\"description\":\"Find out how to increase WordPress memory limit. This is the method you need if you\\\\'re seeing the \\\\\\\"allowed memory size exhausted\\\\\\\" error.\",\"breadcrumb\":{\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#primaryimage\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png\",\"width\":2180,\"height\":1090,\"caption\":\"Increase WordPress Memory Limit\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/themeisle.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Increase WordPress Memory Limit: 4 Easy Methods (Expert-Tested for 2025)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/themeisle.com\/blog\/#website\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"name\":\"Themeisle Blog\",\"description\":\"WordPress Tutorials and Reviews for Beginners and Advanced\",\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/themeisle.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\",\"name\":\"VertiStudio\",\"alternateName\":\"Vertigo Studio SA\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"width\":718,\"height\":156,\"caption\":\"VertiStudio\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/fdae8d9189aff08a5eaef8f6fb4e22b9\",\"name\":\"Karol K\",\"description\":\"Karol Krol is a writer, content strategist, and WordPress figure-outer with over 20 years of experience rooted in website building and web technologies. With his expertise underpinned by a master\\\\'s degree in computer science, he authored \\\\\\\"WordPress Complete\\\\\\\" - the ultimate WordPress handbook for newbies. His work has been published across numerous industry websites. He leads the editorial team at Themeisle.\",\"sameAs\":[\"https:\/\/karol.cc\/\",\"https:\/\/www.linkedin.com\/in\/karolkrol\/\",\"https:\/\/www.pinterest.com\/carlosinho\/\",\"https:\/\/x.com\/iamkarolk\",\"https:\/\/www.youtube.com\/@wpworkshophq\"],\"url\":\"https:\/\/themeisle.com\/blog\/author\/karol-k\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Increase WordPress Memory Limit: 4 Ways (Expert-Tested)","description":"Find out how to increase WordPress memory limit. This is the method you need if you&#039;re seeing the &quot;allowed memory size exhausted&quot; error.","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:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/","og_locale":"en_US","og_type":"article","og_title":"How to Increase WordPress Memory Limit: 4 Ways (Expert-Tested)","og_description":"Find out how to increase WordPress memory limit. This is the method you need if you&#039;re seeing the &quot;allowed memory size exhausted&quot; error.","og_url":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/","og_site_name":"Themeisle Blog","article_published_time":"2021-12-20T15:11:22+00:00","article_modified_time":"2025-05-30T09:58:22+00:00","og_image":[{"width":2180,"height":1090,"url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png","type":"image\/png"}],"author":"Karol K","twitter_card":"summary_large_image","twitter_title":"How to Increase WordPress Memory Limit: 4 Ways (Expert-Tested)","twitter_creator":"@iamkarolk","twitter_misc":{"Written by":"Karol K","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#article","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/"},"author":{"name":"Karol K","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/fdae8d9189aff08a5eaef8f6fb4e22b9"},"headline":"How to Increase WordPress Memory Limit: 4 Easy Methods (Expert-Tested for 2025)","datePublished":"2021-12-20T15:11:22+00:00","dateModified":"2025-05-30T09:58:22+00:00","mainEntityOfPage":{"@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/"},"wordCount":2382,"commentCount":0,"publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"image":{"@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png","keywords":["Popular"],"articleSection":["WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/","url":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/","name":"How to Increase WordPress Memory Limit: 4 Ways (Expert-Tested)","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#primaryimage"},"image":{"@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png","datePublished":"2021-12-20T15:11:22+00:00","dateModified":"2025-05-30T09:58:22+00:00","description":"Find out how to increase WordPress memory limit. This is the method you need if you\\'re seeing the \\\"allowed memory size exhausted\\\" error.","breadcrumb":{"@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#primaryimage","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2021\/12\/Increase-WordPress-Memory-Limit.png","width":2180,"height":1090,"caption":"Increase WordPress Memory Limit"},{"@type":"BreadcrumbList","@id":"https:\/\/themeisle.com\/blog\/increase-wordpress-memory-limit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/themeisle.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Increase WordPress Memory Limit: 4 Easy Methods (Expert-Tested for 2025)"}]},{"@type":"WebSite","@id":"https:\/\/themeisle.com\/blog\/#website","url":"https:\/\/themeisle.com\/blog\/","name":"Themeisle Blog","description":"WordPress Tutorials and Reviews for Beginners and Advanced","publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/themeisle.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/themeisle.com\/blog\/#organization","name":"VertiStudio","alternateName":"Vertigo Studio SA","url":"https:\/\/themeisle.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","width":718,"height":156,"caption":"VertiStudio"},"image":{"@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/fdae8d9189aff08a5eaef8f6fb4e22b9","name":"Karol K","description":"Karol Krol is a writer, content strategist, and WordPress figure-outer with over 20 years of experience rooted in website building and web technologies. With his expertise underpinned by a master\\'s degree in computer science, he authored \\\"WordPress Complete\\\" - the ultimate WordPress handbook for newbies. His work has been published across numerous industry websites. He leads the editorial team at Themeisle.","sameAs":["https:\/\/karol.cc\/","https:\/\/www.linkedin.com\/in\/karolkrol\/","https:\/\/www.pinterest.com\/carlosinho\/","https:\/\/x.com\/iamkarolk","https:\/\/www.youtube.com\/@wpworkshophq"],"url":"https:\/\/themeisle.com\/blog\/author\/karol-k\/"}]}},"_links":{"self":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/46828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/comments?post=46828"}],"version-history":[{"count":33,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/46828\/revisions"}],"predecessor-version":[{"id":113973,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/46828\/revisions\/113973"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media\/112161"}],"wp:attachment":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media?parent=46828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/categories?post=46828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/tags?post=46828"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/hashtags?post=46828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}