<?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>Homepage von Stefan Hofbauer &#187; memory</title>
	<atom:link href="http://www.stefan-hofbauer.com/tag/memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stefan-hofbauer.com</link>
	<description>Persönliche Website mit Bildern und Artikeln zu den Themen Reisen, Paragleiten, Kitesurfen und diversen Themen.</description>
	<lastBuildDate>Sun, 01 Jan 2012 12:42:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Nextgen gallery memory problem</title>
		<link>http://www.stefan-hofbauer.com/technik/2010/07/nextgen-gallery-memory-exhausted/</link>
		<comments>http://www.stefan-hofbauer.com/technik/2010/07/nextgen-gallery-memory-exhausted/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 18:28:06 +0000</pubDate>
		<dc:creator>stehof</dc:creator>
				<category><![CDATA[Technik]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[nextgen]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.stefan-hofbauer.com/?p=193</guid>
		<description><![CDATA[I am using nextgen gallery plugin for wordpress. On uploading images I had the same Problem as drescribed below. <a href="http://www.stefan-hofbauer.com/technik/2010/07/nextgen-gallery-memory-exhausted/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-196" href="http://www.stefan-hofbauer.com/technik/2010/07/nextgen-gallery-memory-exhausted/attachment/images/"><img class="alignleft size-full wp-image-196" title="images" src="http://www.stefan-hofbauer.com/wp-content/uploads/2010/07/images1.jpg" alt="" width="125" height="112" /></a>I am using nextgen gallery plugin for wordpress. On uploading images I had the same Problem as drescribed below.</p>
<blockquote><p>PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 6233929 bytes) in &#8230;</p></blockquote>
<p>The exception happens when the thumbnails are created. Creating the thumbnails seems to be a memory exhausting hob. I searched the web and found a few solutions that looked promising like this one</p>
<blockquote><p>remove the comments from<br />
//@ini_set(&#8216;memory_limit&#8217;, &#8217;128M&#8217; from the file &#8220;gd.thumbnail.inc.php&#8221;</p></blockquote>
<p>but that did not help, because most hosters do not allow you to increase you memory_limit. I found lots of comments on the web that reported the malfunction of the above bugfix (workaround).</p>
<p>Alex Rabe the developer of nextgen comments on the problem:</p>
<blockquote><p>The reason is the increased memory needs for WordPress itself, a developer noticed that they <a href="http://hakre.wordpress.com/2010/06/28/wordpress-3-0-memory-requirements-256-mb/">raised the requirement up to 256MB</a> !</p>
<p>(<a href="http://alexrabe.de/2010/07/05/wordpress-3-0-memory-requirements-256-mb" target="_blank">http://alexrabe.de/2010/07/05/wordpress-3-0-memory-requirements-256-mb/</a>)</p></blockquote>
<p>The only solution that worked for me was to<strong> downgrade the php version</strong> i am using on my webspace. All the versions above 5.x did produce the &#8220;memory size exhausted&#8221; exception.</p>
<p>I downgraded to version 4.4.x and everything was fine again. I tested the procedure with an almost 200 images .zip file. Everything worked fine!</p>
<p>I did not discover any problems despite the message &#8220;some features of nextgen require php 5.2.x&#8221; netgen displays on the plugin dashboard.</p>
<p>Maybe someone can comment on the limitations with php version 4.4.x in nextgen gallery.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-hofbauer.com/technik/2010/07/nextgen-gallery-memory-exhausted/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

