<?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; php</title>
	<atom:link href="http://alexrabe.de/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexrabe.de</link>
	<description>ALEX RABE &#124; learning by doing...</description>
	<lastBuildDate>Mon, 09 Apr 2012 09:26:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</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>155</slash:comments>
		</item>
	</channel>
</rss>

