{"id":1538,"date":"2011-02-20T11:55:08","date_gmt":"2011-02-20T06:25:08","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=1538"},"modified":"2011-02-20T11:55:08","modified_gmt":"2011-02-20T06:25:08","slug":"wordpress-update-error-allowed-memory-size-exhausted","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/wordpress-update-error-allowed-memory-size-exhausted\/","title":{"rendered":"wordpress update error &#8211; allowed memory size exhausted"},"content":{"rendered":"<p>This error normally occurs while updating the WordPress blog, The reason of this error usually because of allocated PHP memory size \u00a0for the WordPress blog.<\/p>\n<p><strong>Increasing memory allocated to PHP<\/strong><\/p>\n<p>Also released with Version 2.5, the <strong>WP_MEMORY_LIMIT<\/strong> option allows you to specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as &#8220;<strong>Allowed memory size of xxxxxx bytes exhausted<\/strong>&#8220;.<!--more--><\/p>\n<p>This setting increases PHP Memory <strong>only for WordPress<\/strong>, not other applications. By default, WordPress will attempt to increase memory allocated to PHP to <strong>32MB<\/strong> (code is at beginning of <strong>wp-settings.php<\/strong>), so the setting in <strong>wp-config.php<\/strong> should reflect something higher than 32MB.<\/p>\n<p>WordPress will automatically check if PHP has been allocated less memory than the entered value before utilizing this function. For example, if PHP has been allocated 64MB, there is no need to set this value to 64M as WordPress will automatically use all 64MB if need be.<\/p>\n<p>Please note, <strong><em>this setting may not work if your host does not allow for increasing the PHP memory limit&#8211;in that event<\/em><\/strong>, contact your host to increase the PHP memory limit. Also, note that many hosts set the PHP limit at 8MB.<\/p>\n<blockquote><p><strong>Increase PHP Memory to 64MB<\/strong><\/p>\n<p>define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;64M&#8217;);<\/p><\/blockquote>\n<blockquote><p><strong>Increase PHP Memory to 96MB<\/strong><\/p>\n<p>define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;96M&#8217;);<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>wordpress update error &#8211; allowed memory size exhausted<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17,19],"tags":[223],"class_list":["post-1538","post","type-post","status-publish","format-standard","hentry","category-tips","category-webtech","tag-wordpress"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1848,"url":"https:\/\/www.jitendrazaa.com\/blog\/webtech\/cpanel-php-500-internal-server-error\/","url_meta":{"origin":1538,"position":0},"title":"CPanel &#8211; PHP &#8211; 500 internal server error","author":"Jitendra","date":"March 28, 2011","format":false,"excerpt":"Error Resolved - CPanel - PHP - 500 internal server error","rel":"","context":"In &quot;Web Technology&quot;","block_context":{"text":"Web Technology","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/webtech\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":536,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/immutable-nature-of-string-java\/","url_meta":{"origin":1538,"position":1},"title":"Immutable nature of String &#8211; JAVA","author":"Jitendra","date":"July 5, 2010","format":false,"excerpt":"Immutable nature of String - JAVA","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/"},"img":{"alt_text":"Create instance of string in JAVA","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/07\/String-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2386,"url":"https:\/\/www.jitendrazaa.com\/blog\/webtech\/cpanel-filezilla-ftp-all-code-converted-in-single-line\/","url_meta":{"origin":1538,"position":2},"title":"Cpanel &#8211; FileZilla FTP &#8211; All code converted in single line","author":"Jitendra","date":"August 12, 2011","format":false,"excerpt":"While transferring the php, html or javascript file using filezilla ftp client to the cpanel - all the codes converted into single line","rel":"","context":"In &quot;Web Technology&quot;","block_context":{"text":"Web Technology","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/webtech\/"},"img":{"alt_text":"FileZilla Settings","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/08\/FileZilla-Settings.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":39,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/how-to-change-the-meta-tag-link-in-wordpress\/","url_meta":{"origin":1538,"position":3},"title":"How to change the Meta Tag link in WordPress","author":"Jitendra","date":"May 6, 2010","format":false,"excerpt":"How to change the Meta Tag link in Wordpress","rel":"","context":"In &quot;Tech Tips&quot;","block_context":{"text":"Tech Tips","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/tips\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2903,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-toolkit-for-php\/","url_meta":{"origin":1538,"position":4},"title":"Salesforce Toolkit for PHP","author":"Jitendra","date":"June 7, 2012","format":false,"excerpt":"Example of using PHP toolkit in Salesforce with Sample code","rel":"","context":"In &quot;Force.com&quot;","block_context":{"text":"Force.com","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/force-com\/"},"img":{"alt_text":"force.com toolkit for PHP toolkit","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/06\/force.com-toolkit-for-PHP-toolkit.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/06\/force.com-toolkit-for-PHP-toolkit.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/06\/force.com-toolkit-for-PHP-toolkit.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":291,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/create-cron-job-to-run-php-script-in-cpanel\/","url_meta":{"origin":1538,"position":5},"title":"Create Cron job to run PHP Script in Cpanel","author":"Jitendra","date":"June 25, 2010","format":false,"excerpt":"Hi All, Today i just want to share that how to create \u00a0a cron job in Cpanel to run the PHP script. I hope everyone knows that what is Cron job : it is the task schedule in Linux which will run on predefined time interval. its same concept like\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/1538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=1538"}],"version-history":[{"count":0,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/1538\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=1538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=1538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=1538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}