{"id":26963,"date":"2025-01-21T13:54:51","date_gmt":"2025-01-21T08:24:51","guid":{"rendered":"https:\/\/themehunk.com\/?p=26963"},"modified":"2025-01-29T13:54:59","modified_gmt":"2025-01-29T08:24:59","slug":"wordpress-memory-exhausted-error-increase-php-memory","status":"publish","type":"post","link":"https:\/\/themehunk.com\/wordpress-memory-exhausted-error-increase-php-memory\/","title":{"rendered":"WordPress Memory Exhausted Error Fixed! Here is How."},"content":{"rendered":"\n<p>Do you want to Fix the <strong>WordPress Memory Exhausted Error? or Want to know, How you can increase the memory limit on WordPress Website?<\/strong><\/p>\n\n\n\n<p>Don&#8217;t worry, in today&#8217;s blog I will tell you everything about increasing the memory limit in your WordPress website.<\/p>\n\n\n\n<p>Sometimes while working on a WordPress website, many people see WordPress Memory Limit Exhausted Error, because of default allocated memory is limited.<\/p>\n\n\n\n<p>So we have to increase the memory limit in WordPress so that the error will never show us again.<\/p>\n\n\n\n<p><strong>You&#8217;ve seen the following error While uploading or updating Files<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\"><em>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in\/home4\/example\/public_html\/wp-includes\/function.php on line 399<\/em><\/mark><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wordpress-fatal-error-allowed-memory-size-increse.png?ssl=1\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"836\" height=\"343\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wordpress-fatal-error-allowed-memory-size-increse.png?resize=836%2C343&#038;ssl=1\" alt=\"php memory error increase  \" class=\"wp-image-26964\" style=\"width:729px;height:299px\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wordpress-fatal-error-allowed-memory-size-increse.png?w=836&amp;ssl=1 836w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wordpress-fatal-error-allowed-memory-size-increse.png?resize=300%2C123&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wordpress-fatal-error-allowed-memory-size-increse.png?resize=768%2C315&amp;ssl=1 768w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><\/a><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/themehunk.com\/wordpress-memory-exhausted-error-increase-php-memory\/#How_to_Fix_WordPress_Memory_Exhausted_Error\" >How to Fix WordPress Memory Exhausted Error<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/themehunk.com\/wordpress-memory-exhausted-error-increase-php-memory\/#1-_Fix_WordPress_Memory_Exhausted_Error_By_Editing_wp-configphp_File\" >1- Fix WordPress Memory Exhausted Error By Editing wp-config.php File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/themehunk.com\/wordpress-memory-exhausted-error-increase-php-memory\/#2-_Increase_memory_limit_in_WordPress_Modifying_the_htaccess_File\" >2- Increase memory limit in WordPress Modifying the&nbsp;.htaccess&nbsp;File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/themehunk.com\/wordpress-memory-exhausted-error-increase-php-memory\/#3-_Fix_WordPress_Memory_Exhausted_Error_and_Php_Memory_Limit_By_Editing_the_phpini_File\" >3- Fix WordPress Memory Exhausted Error and Php Memory Limit By Editing the&nbsp;php.ini&nbsp;File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/themehunk.com\/wordpress-memory-exhausted-error-increase-php-memory\/#4-_Wp_Maximum_Upload_File_Size_Plugin_For_increasing_memory_limit_in_WordPress\" >4- Wp Maximum Upload File Size Plugin For increasing memory limit in WordPress.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/themehunk.com\/wordpress-memory-exhausted-error-increase-php-memory\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-fix-wordpress-memory-exhausted-error\"><span class=\"ez-toc-section\" id=\"How_to_Fix_WordPress_Memory_Exhausted_Error\"><\/span><strong> How to Fix WordPress Memory Exhausted Error<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are a few ways for resolving this error, we have used these methods for WordPress Memory Exhausted Error.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Edit <strong>wp-config.php<\/strong> File<\/li>\n\n\n\n<li>Modify the&nbsp;<code><strong>.htaccess<\/strong><\/code>&nbsp;File<\/li>\n\n\n\n<li>Editing the&nbsp;<code><strong>php.ini<\/strong><\/code>&nbsp;File<\/li>\n\n\n\n<li>Wp Maximum Upload File Size Plugin<\/li>\n<\/ul>\n\n\n\n<p>Above are three methods that we are going to use for fixing the WordPress memory exhaustion error and for increasing the memory limit in WordPress.<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Note:- <\/mark>Before editing the files we suggest you back up your website data.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-fix-wordpress-memory-exhausted-error-by-editing-wp-config-php-file\"><span class=\"ez-toc-section\" id=\"1-_Fix_WordPress_Memory_Exhausted_Error_By_Editing_wp-configphp_File\"><\/span><strong>1- Fix WordPress Memory Exhausted Error By Editing wp-config.php File<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You need to edit the <strong>wp-config.php<\/strong> file on your website. This file is located in your WordPress website&#8217;s root folder, and you can access it via your hosting control panel or via <a href=\"https:\/\/themehunk.com\/docs\/ftp-tutorial\/\" target=\"_blank\" rel=\"noreferrer noopener\">FTP Client<\/a>. <\/p>\n\n\n\n<p>Go to your Web Control panel, like we have used Cpanel to show you this method.<\/p>\n\n\n\n<p><strong>Increase the WordPress memory limit<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now click on the <strong>File manage<\/strong>r <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-1.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"656\" height=\"412\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-1.png?resize=656%2C412&#038;ssl=1\" alt=\"WordPress Memory Exhausted Error increase php memory limit \" class=\"wp-image-26969\" style=\"width:-147px;height:-92px\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-1.png?w=656&amp;ssl=1 656w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-1.png?resize=300%2C188&amp;ssl=1 300w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Here you will see the <strong>public_html<\/strong> folder, double click on that folder. as shown in the screenshot below. <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-2.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"798\" height=\"673\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-2.png?resize=798%2C673&#038;ssl=1\" alt=\"WordPress Memory Exhausted Error\" class=\"wp-image-26970\" style=\"width:599px;height:505px\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-2.png?w=798&amp;ssl=1 798w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-2.png?resize=300%2C253&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-2.png?resize=768%2C648&amp;ssl=1 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now here, you will see the <strong>wp-config.php <\/strong>file, right-click on it, and click on the edit option.<\/li>\n\n\n\n<li>After opening the file you will see the following editor, as shown in the screenshot below.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-3.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"586\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-3.png?resize=1024%2C586&#038;ssl=1\" alt=\"WordPress Memory Exhausted Error\" class=\"wp-image-26971\" style=\"width:768px;height:440px\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-3.png?resize=1024%2C586&amp;ssl=1 1024w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-3.png?resize=300%2C172&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-3.png?resize=768%2C439&amp;ssl=1 768w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-config-php-file-memory-3.png?w=1440&amp;ssl=1 1440w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now at the end of the editor section, under <strong><span style=\"color:#0d593d\" class=\"has-inline-color\">\/* That&#8217;s all, stop editing! happy publishing. *\/<\/span><\/strong> enter the following code.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_MEMORY_LIMIT', '256M' );<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After entering the above code. click on the save changes button.<\/li>\n<\/ul>\n\n\n\n<p>Now you can see on your WordPress website the memory limit has increased. If this method is not working for you, so let&#8217;s try another method. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-increase-memory-limit-in-wordpress-modifying-the-htaccess-file\"><span class=\"ez-toc-section\" id=\"2-_Increase_memory_limit_in_WordPress_Modifying_the_htaccess_File\"><\/span><strong>2- Increase memory limit in WordPress Modifying the&nbsp;<code>.htaccess<\/code>&nbsp;File<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Again The .htaccess file is a file located within the root of your WordPress files, where the Wp-config.php file is located. so we have to carry out the same procedure.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to your web hosting control panel<\/li>\n\n\n\n<li>Click on the <strong>File manager<\/strong> <\/li>\n\n\n\n<li>Now here, you will see the <strong>.htaccess <\/strong>file, right-click on it and click on the edit option.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/ht-access-file-limit-432.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/ht-access-file-limit-432.png?resize=1024%2C575&#038;ssl=1\" alt=\"How to increase memory limit in wordpress\" class=\"wp-image-26973\" style=\"width:768px;height:431px\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/ht-access-file-limit-432.png?resize=1024%2C575&amp;ssl=1 1024w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/ht-access-file-limit-432.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/ht-access-file-limit-432.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/ht-access-file-limit-432.png?w=1438&amp;ssl=1 1438w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>At the end of the code enter the following code<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>php_value memory_limit 256M<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now click on the save changes button, and your memory limit will be increased. <\/li>\n<\/ul>\n\n\n\n<p>If your memory limit is still not increased after trying the wp-config.php file and .<strong>htaccess<\/strong> file, then try the below method.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3-fix-wordpress-memory-exhausted-error-and-php-memory-limit-by-editing-the-php-ini-file\"><span class=\"ez-toc-section\" id=\"3-_Fix_WordPress_Memory_Exhausted_Error_and_Php_Memory_Limit_By_Editing_the_phpini_File\"><\/span><strong>3- Fix WordPress Memory Exhausted Error and Php Memory Limit By Editing the&nbsp;<code>php.ini<\/code>&nbsp;File<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For editing the php.ini file you have to access the root folder of your WordPress website, as he has shown you before on the <strong>Wp-config.php<\/strong> file and .<strong>htaccess<\/strong> file.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the Web hosting control panel<\/li>\n\n\n\n<li>Click on the File manager<\/li>\n\n\n\n<li>Here you will see the <strong>php.ini<\/strong> file, right-click on it and click on edit.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-31.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"914\" height=\"821\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-31.png?resize=914%2C821&#038;ssl=1\" alt=\"php memory limit\" class=\"wp-image-26974\" style=\"width:686px;height:616px\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-31.png?w=914&amp;ssl=1 914w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-31.png?resize=300%2C269&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-31.png?resize=768%2C690&amp;ssl=1 768w\" sizes=\"(max-width: 914px) 100vw, 914px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now you will see the <strong>php.ini<\/strong> file editor panel. <\/li>\n\n\n\n<li>Enter the Following code at the end of the code<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>memory_limit = 512M<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-32.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-32.png?resize=1024%2C590&#038;ssl=1\" alt=\"increase memory limit with php\" class=\"wp-image-26977\" style=\"width:768px;height:443px\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-32.png?resize=1024%2C590&amp;ssl=1 1024w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-32.png?resize=300%2C173&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-32.png?resize=768%2C443&amp;ssl=1 768w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/edit-php-ini-file-32.png?w=1440&amp;ssl=1 1440w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After entering the code click on the Save Changes button.<\/li>\n<\/ul>\n\n\n\n<p>So this is how you can edit the root files to increase the memory limit in your WordPress Website. <\/p>\n\n\n\n<p>If you don&#8217;t want to edit the root files of your website, or you don&#8217;t have the access to your root files then we have another solution for you. You can increase the memory limit via the plugin. let&#8217;s see how it works.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-4-wp-maximum-upload-file-size-plugin-for-increasing-memory-limit-in-wordpress\"><span class=\"ez-toc-section\" id=\"4-_Wp_Maximum_Upload_File_Size_Plugin_For_increasing_memory_limit_in_WordPress\"><\/span><strong>4- Wp Maximum Upload File Size Plugin For increasing memory limit in WordPress.<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can increase the memory limit in WordPress through the plugin. install the <strong><strong><a href=\"https:\/\/wordpress.org\/plugins\/wp-maximum-upload-file-size\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Wp Maximum Upload File Size<\/a> Plugin<\/strong><\/strong> from the <strong>Plugins <\/strong>&gt; <strong>Add new<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/themehunk.com\/how-to-install-wordpress-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install and activate<\/a> the <strong><strong>Wp Maximum Upload File Size Plugin<\/strong><\/strong>, <\/li>\n\n\n\n<li>Now Go to <strong>Dashboard<\/strong> &gt; <strong>Wp upload limit<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-mamimum-upload-file-size-831.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"897\" height=\"697\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-mamimum-upload-file-size-831.png?resize=897%2C697&#038;ssl=1\" alt=\"How to increase memory limit in wordpress with plugin\" class=\"wp-image-26990\" style=\"width:673px;height:523px\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-mamimum-upload-file-size-831.png?w=897&amp;ssl=1 897w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-mamimum-upload-file-size-831.png?resize=300%2C233&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/wp-mamimum-upload-file-size-831.png?resize=768%2C597&amp;ssl=1 768w\" sizes=\"(max-width: 897px) 100vw, 897px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now Choose the maximum upload file size, by default it is <strong>64<\/strong>. you can select the size of your choice <\/li>\n\n\n\n<li>After selecting the file size click on the<strong> Save Changes <\/strong>button. <\/li>\n<\/ul>\n\n\n\n<p>So this is how you can increase the memory limit in WordPress, and fix the WordPress Memory Exhausted Error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-conclusion\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>If this solution does not work for you, then this means your web hosting service provider does not allow WordPress to increase the PHP memory limit.<\/p>\n\n\n\n<p>You will need to ask your web hosting provider to increase your PHP memory limit manually.<\/p>\n\n\n\n<p>So this is the article on how to fix the \u201c<strong>WordPress Memory Exhausted Error<\/strong>\u201d. you can try any of the above methods.<\/p>\n\n\n\n<p>If you have any questions regarding any issue, do not hesitate, just comment down below, and we will help you to solve your problem. Thanks for reading this blog. \ud83d\ude42<\/p>\n\n\n\n<p>Please Subscribe to our&nbsp;<a href=\"https:\/\/www.youtube.com\/channel\/UCfgrZG0WxbPn707NumiWxUg\/featured?sub_confirmation=1\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>YouTube Channel<\/strong><\/a>, we also upload great content there, and also Do Follow us on&nbsp;<a href=\"https:\/\/www.facebook.com\/ThemeHunk\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Facebook<\/strong><\/a>&nbsp;and&nbsp;<strong><a href=\"https:\/\/twitter.com\/themehunk\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Twitter<\/a><\/strong><\/p>\n\n\n\n<p><strong>Read More-<\/strong> <\/p>\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links\"><li><a href=\"https:\/\/themehunk.com\/how-to-fix-the-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">Quickly Fix the \u201cSorry, This File Type is not Permitted for Security Reasons\u201d Error in WordPress<\/a><\/li><li><a href=\"https:\/\/themehunk.com\/remove-date-from-wordpress-posts\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Remove Date from WordPress Posts<\/a><\/li><li><a href=\"https:\/\/themehunk.com\/beginners-guide-to-add-edit-and-delete-categories-in-wordpress-posts\/\" target=\"_blank\" rel=\"noreferrer noopener\">Beginners guide to Add, Edit, and Delete Categories in WordPress Posts.<\/a><\/li><li><a href=\"https:\/\/themehunk.com\/whats-is-sitemap-an-how-to-create-in-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">Whats is Sitemap? Learn how to create in WordPress<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to Fix the WordPress Memory Exhausted Error? or Want to know, How you can increase the memory limit on WordPress Website? Don&#8217;t worry, in today&#8217;s blog I will tell you everything about increasing the memory limit in your WordPress website. Sometimes while working on a WordPress website, many people see WordPress Memory [&hellip;]<\/p>\n","protected":false},"author":9313,"featured_media":26996,"comment_status":"open","ping_status":"closed","sticky":false,"template":"custom-blog-tmpl.php","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":true},"categories":[1,453,555,456,2703,454],"tags":[3888,3887,3884,3886,458,3885,461,3807],"class_list":["post-26963","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-beginners","category-wordpress-tips-tricks","category-tools-services","category-wordpress-tutorials","category-wordpress","category-wordpress-plugins","tag-increase-memory-limit","tag-increase-memory-limit-in-wordpress","tag-php-error","tag-php-limit","tag-wordpress","tag-wordpress-memory-exhausted-error","tag-wordpress-plugin","tag-wordpress-plugins"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/fix-wordpress-memory-exhausted-error.png?fit=825%2C470&ssl=1","jetpack-related-posts":[{"id":44413,"url":"https:\/\/themehunk.com\/common-wordpress-errors\/","url_meta":{"origin":26963,"position":0},"title":"9 Most Common WordPress Errors and Guide to Fix Them in","author":"Aman Dubey","date":"January 22, 2025","format":false,"excerpt":"Hello there, In today's blog, we're going to discuss some of the Common WordPress errors and their Solutions. Creating a Blog or website is now much easier with WordPress. But also sometimes there are various things that come in line while creating a WordPress website. There are various Common WordPress\u2026","rel":"","context":"In &quot;WP Beginners&quot;","block_context":{"text":"WP Beginners","link":"https:\/\/themehunk.com\/category\/wp-beginners\/"},"img":{"alt_text":"Detail Guide about Common WordPress errors","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2022\/12\/common-wordpress-errors-fix.png?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2022\/12\/common-wordpress-errors-fix.png?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2022\/12\/common-wordpress-errors-fix.png?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2022\/12\/common-wordpress-errors-fix.png?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":52310,"url":"https:\/\/themehunk.com\/response-is-not-a-valid-json-response\/","url_meta":{"origin":26963,"position":1},"title":"How to Fix &#8220;Updating Failed. The Response is Not a Valid JSON Response&#8221; in WordPress","author":"Gaurav Payak","date":"March 4, 2026","format":false,"excerpt":"Overview\u27a3 This article explains the common WordPress error \u201cResponse is not a valid JSON response,\u201d its causes, and practical solutions like fixing permalinks, checking plugins, and resolving server or REST API issues. Are you a WordPress user who comes across the annoying \"Updating Failed. The Response is Not a Valid\u2026","rel":"","context":"In &quot;Tips &amp; Tricks&quot;","block_context":{"text":"Tips &amp; Tricks","link":"https:\/\/themehunk.com\/category\/wordpress-tips-tricks\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2023\/11\/not-valid-jason-response-12.png?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2023\/11\/not-valid-jason-response-12.png?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2023\/11\/not-valid-jason-response-12.png?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2023\/11\/not-valid-jason-response-12.png?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":71947,"url":"https:\/\/themehunk.com\/fix-wordpress-login-error-at-wp-admin\/","url_meta":{"origin":26963,"position":2},"title":"How to Fix WordPress Login Error at wp-admin: Step-by-Step Guide","author":"Editorial","date":"February 25, 2025","format":false,"excerpt":"Are you frustrated with encountering the WordPress login error at your wp-admin? Whether it\u2019s an \u201cIncorrect password,\u201d \u201cThis site is experiencing technical difficulties,\u201d or simply being unable to access the dashboard, login issues can be a major headache for site administrators. But don\u2019t worry! In this blog post, we\u2019ll explore\u2026","rel":"","context":"In &quot;WP Beginners&quot;","block_context":{"text":"WP Beginners","link":"https:\/\/themehunk.com\/category\/wp-beginners\/"},"img":{"alt_text":"Fix WordPress Login Error at wp-admin","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/08\/wp-admin-login-error-32.png?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/08\/wp-admin-login-error-32.png?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/08\/wp-admin-login-error-32.png?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/08\/wp-admin-login-error-32.png?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":39741,"url":"https:\/\/themehunk.com\/how-to-create-a-custom-404-page-in-wordpress\/","url_meta":{"origin":26963,"position":3},"title":"How to Create a Custom 404 Error Page in WordPress (Easy Guide)","author":"Aman Dubey","date":"February 13, 2026","format":false,"excerpt":"Do you want to know how to create a Custom 404 Error Page in WordPress? So today in this blog you will learn about creating a custom 404 page. Basically, Every theme that is shipped with WordPress has a 404.php file, but not all Themes have their own custom 404\u2026","rel":"","context":"In &quot;WP Beginners&quot;","block_context":{"text":"WP Beginners","link":"https:\/\/themehunk.com\/category\/wp-beginners\/"},"img":{"alt_text":"Custom 404 Error Page","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2022\/06\/wp-custom-404-page.png?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2022\/06\/wp-custom-404-page.png?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2022\/06\/wp-custom-404-page.png?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2022\/06\/wp-custom-404-page.png?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":58027,"url":"https:\/\/themehunk.com\/stylecss-not-found-error\/","url_meta":{"origin":26963,"position":4},"title":"How To Fix The &#8220;style.css not found&#8221; Error in 2025","author":"Anurag","date":"January 29, 2025","format":false,"excerpt":"It irritates everyone when we upload a file to a WordPress website and an error occurs that says The package could not be installed. The theme is missing the style.css stylesheet. This error occurs while uploading a theme or plugin file. It is one of the most faced errors. There\u2026","rel":"","context":"In &quot;WP Beginners&quot;","block_context":{"text":"WP Beginners","link":"https:\/\/themehunk.com\/category\/wp-beginners\/"},"img":{"alt_text":"How To Fix The \"style.css not found\" Error","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/02\/TH_Style-Css.jpg?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/02\/TH_Style-Css.jpg?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/02\/TH_Style-Css.jpg?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/02\/TH_Style-Css.jpg?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":71375,"url":"https:\/\/themehunk.com\/fix-http-400-bad-request-error-in-wordpress\/","url_meta":{"origin":26963,"position":5},"title":"How to Fix HTTP 400 Bad Request Error in a WordPress Website (7 Ways)","author":"Editorial","date":"February 10, 2025","format":false,"excerpt":"Do you want to know how to Fix HTTP 400 Bad request error? you have come to the right place! The HTTP 400 Bad Request error is a common issue that can disrupt your WordPress website's functionality and user experience. It typically indicates that the server cannot process the request\u2026","rel":"","context":"In &quot;WP Beginners&quot;","block_context":{"text":"WP Beginners","link":"https:\/\/themehunk.com\/category\/wp-beginners\/"},"img":{"alt_text":"Fix HTTP 400 Bad Request Error in WordPress","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/08\/wp-http-400-error.png?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/08\/wp-http-400-error.png?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/08\/wp-http-400-error.png?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/08\/wp-http-400-error.png?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"comment_count":"0","_links":{"self":[{"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/posts\/26963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/users\/9313"}],"replies":[{"embeddable":true,"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/comments?post=26963"}],"version-history":[{"count":5,"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/posts\/26963\/revisions"}],"predecessor-version":[{"id":63630,"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/posts\/26963\/revisions\/63630"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/media\/26996"}],"wp:attachment":[{"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/media?parent=26963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/categories?post=26963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themehunk.com\/wp-json\/wp\/v2\/tags?post=26963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}