<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>alex.rabe &#187; memory_limit</title>
	<atom:link href="http://alexrabe.de/tag/memory_limit/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexrabe.de</link>
	<description>ALEX RABE &#124; learning by doing...</description>
	<lastBuildDate>Sun, 29 Jan 2012 20:47:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Dear hoster : We need more memory !</title>
		<link>http://alexrabe.de/2009/06/14/dear-hoster-we-need-more-memory/</link>
		<comments>http://alexrabe.de/2009/06/14/dear-hoster-we-need-more-memory/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 18:24:50 +0000</pubDate>
		<dc:creator>Alex Rabe</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[memory_limit]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://alexrabe.de/2009/06/14/dear-hoster-we-need-more-memory/</guid>
		<description><![CDATA[A lot of people update to WordPress 2.8 and get the message :
Allowed memory size of 33554433 bytes exhausted
So, with WP2.8 we reached now the limit of many hosters (32MB), who is the bad boy ? Can we increase the limit ? I faced a similar problem here with my homepage and wrote a simple [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of people update to WordPress 2.8 and get the message :</p>
<blockquote><p>Allowed memory size of 33554433 bytes exhausted</p></blockquote>
<p>So, with WP2.8 we reached now the limit of many hosters (32MB), who is the bad boy ? Can we increase the limit ? I faced a similar problem here with my homepage and wrote a simple plugin for the WordPress dashboard which shows up the limit and current usage. Just for the notes, a WordPress 2.3 + NextGEN Gallery and 10 other plugins require <strong>16.32 Mbyte</strong> memory.</p>
<p>Ok, what is the limit for a fresh <strong>WordPress 2.8</strong> installation under PHP 4 and PHP 5 ?</p>
<p><span id="more-326"></span><img src="http://alexrabe.de/wp-content/uploads/php4_wp.jpg" alt="PHP4" /> <img src="http://alexrabe.de/wp-content/uploads/php5_wp.jpg" alt="PHP 5" /></p>
<p>My hoster support currently both version of PHP, interesting that PHP 5 require less memory (1 MB) . Now, what happen if you the include the german language (de_DE) file ?</p>
<p><img src="http://alexrabe.de/wp-content/uploads/php4_wp_de.jpg" alt="PHP4 + de_de" /> <img src="http://alexrabe.de/wp-content/uploads/php5_wp_de.jpg" alt="PHP5 + de_de" /></p>
<p>I&#8217;m very surprised that the <a href="http://www.php.net/gettext">gettext</a>() library need more memory under PHP5 (6.5 MB !). Finally I activated NextGEN Gallery and wordTube (plus the german language files) :</p>
<p><img src="http://alexrabe.de/wp-content/uploads/php4_wp_de_ngg_wt.jpg" alt="PHP4 complete" /> <img src="http://alexrabe.de/wp-content/uploads/php5_wp_de_ngg_wt.jpg" alt="PHP5 complete" /></p>
<p>As you can see my limit of 36 Mbyte is reached with only two plugins, but the most memory is eaten with PHP5 and the gettext translation. I didn&#8217;t expect this. Every PHP version react different,  <em>what is your memory usage under WordPress ?</em></p>
<p><strong>UPDATE :</strong>  The reason for the higher memory consumption is found (THX to <a href="http://blog.wordpress-deutschland.org/2009/07/23/enormer-php-speicherverbrauch-ursache-gefunden.html">Heiko Rabe</a>) : If you have a <strong>64bit OS</strong>, then the memory consumption this more the twice as a 32bit OS.  I&#8217;ve updated my test tool,  see the attached screenshot (a<span>vailable since PHP 4.4.0 and PHP 5.0.5 </span>)<br />
<strong><a rel="attachment wp-att-395" href="http://alexrabe.de/2009/06/14/dear-hoster-we-need-more-memory/os_info/"><img class="size-full wp-image-395 alignnone" title="os_info" src="http://alexrabe.de/wp-content/uploads/os_info.png" alt="os_info" width="324" height="168" /></a></strong></p>
<p>You can download this test tool for the dashboard here :</p>
<p class="download"><a href="http://wordpress.org/extend/plugins/wp-memory-usage/">Download WP-Memory-Usage </a><br />
Release @ wordpress.org</p>
]]></content:encoded>
			<wfw:commentRss>http://alexrabe.de/2009/06/14/dear-hoster-we-need-more-memory/feed/</wfw:commentRss>
		<slash:comments>154</slash:comments>
		</item>
		<item>
		<title>More AJAX for NextGEN Gallery</title>
		<link>http://alexrabe.de/2008/08/23/more-ajax-for-nextgen-gallery/</link>
		<comments>http://alexrabe.de/2008/08/23/more-ajax-for-nextgen-gallery/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 08:01:03 +0000</pubDate>
		<dc:creator>Alex Rabe</dc:creator>
				<category><![CDATA[NextGEN Gallery]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[memory_limit]]></category>
		<category><![CDATA[NextGEN-Gallery]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://alexrabe.de/2008/08/23/more-ajax-for-nextgen-gallery/</guid>
		<description><![CDATA[When I review the questions in the forum , I can see that still the biggest problems is caused by the memory limit. It&#8217;s annoying that the create thumbnail process stopped or failed very often. I did my best to catch the problem, but as you can see from the 1&#38;1 problem, I&#8217;m helpless when [...]]]></description>
			<content:encoded><![CDATA[<p>When I review the questions in the forum , I can see that still the biggest problems is caused by the memory limit. It&#8217;s annoying that the create thumbnail process stopped or failed very often. I did my best to catch the problem, but as you can see from the 1&amp;1 problem, I&#8217;m helpless when the script didn&#8217;t get the correct result from the web server.</p>
<p>For Version 1.00 I introduce a new AJAX based solution. Instead to process the thumbnail operation for all images via the PHP script ,I used a AJAX solution which submit each thumbnail step by step. This will ensure that the main script not suddenly stopped by a fatal error or warning. Here are some pro&#8217;s and con&#8217;s about my new solution :</p>
<p><strong>Pro</strong> </p>
<ul>
<li>A fatal error (memory_limit) will not break the main script</li>
<li>I can show up any error message as inline message</li>
<li>It will only in strange cases hit the &#8220;Max Script Execute Time&#8221;</li>
<li>Therefore I can combine different server intensive operation (thumbnails, resize, set watermark ) </li>
</ul>
<p><strong>Contra</strong></p>
<ul>
<li>Require much more time</li>
<li>More database queries during the process</li>
</ul>
<p>I uploaded this changes now to my <a href="http://code.google.com/p/nextgen-gallery/source/list">GoogleCode project</a>, if somebody is interested for testing , go and get the trunk code. It also contain now the new ImageMagick support (Thanks to the help of Frederic De Ranter). Please note that the trunk is fresh alpha build : <em>not tested, not reviewed and nothing for a live blog system</em> !</p>
]]></content:encoded>
			<wfw:commentRss>http://alexrabe.de/2008/08/23/more-ajax-for-nextgen-gallery/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>1 &amp; 1 &#8211; Read the FAQ</title>
		<link>http://alexrabe.de/2008/08/07/1-1-read-the-faq/</link>
		<comments>http://alexrabe.de/2008/08/07/1-1-read-the-faq/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 09:41:02 +0000</pubDate>
		<dc:creator>Alex Rabe</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[NextGEN Gallery]]></category>
		<category><![CDATA[1&1]]></category>
		<category><![CDATA[hoster]]></category>
		<category><![CDATA[memory_limit]]></category>

		<guid isPermaLink="false">http://alexrabe.de/2008/08/07/1-1-read-the-faq/</guid>
		<description><![CDATA[In response to my article 1&#38;1 = 3.
Marc found this interesting note in the FAQ section of 1 &#38; 1 :
Can the memory usage limit be increased on shared hosting with a php.ini file?
Due to resource limits on our Shared Hosting machines, it is not possible to allocate more than 20M of memory to PHP, although phpinfo() [...]]]></description>
			<content:encoded><![CDATA[<p>In response to my article <a href="http://alexrabe.de/2008/03/21/11-3/">1&amp;1 = 3</a>.</p>
<p>Marc found this interesting note in the <a href="http://faq.1and1.com/search/go.php?t=e683249&amp;q=memory">FAQ section</a> of 1 &amp; 1 :</p>
<blockquote><p><strong>Can the memory usage limit be increased on shared hosting with a php.ini file?</strong></p>
<p>Due to resource limits on our Shared Hosting machines, it is not possible to allocate more than 20M of memory to PHP, although phpinfo() may report a higher number. You will be unable to increase the memory usage limit with a php.ini file.</p></blockquote>
<p>Very cool note <img src='http://alexrabe.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Especially when you are check the memory limit via your PHP script. Time to change the hoster&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://alexrabe.de/2008/08/07/1-1-read-the-faq/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

