<?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>Camilo Lozano III &#187; memory</title>
	<atom:link href="http://camilord.kagayan.com/tag/memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://camilord.kagayan.com</link>
	<description>Linux for Servers, Macintosh for Graphics and Windows for Solitair...</description>
	<lastBuildDate>Wed, 08 Sep 2010 04:04:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 4800 bytes)</title>
		<link>http://camilord.kagayan.com/2009/02/09/php-fatal-error-allowed-memory-size-of-8388608-bytes-exhausted-tried-to-allocate-4800-bytes/</link>
		<comments>http://camilord.kagayan.com/2009/02/09/php-fatal-error-allowed-memory-size-of-8388608-bytes-exhausted-tried-to-allocate-4800-bytes/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 15:20:53 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[8MB]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[ini_set()]]></category>
		<category><![CDATA[limit]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[resource]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=106</guid>
		<description><![CDATA[When I first encountered this error, I thought something wrong with my apache-php integration. Thank God it&#8217;s not the one I thought. This PHP Fatal error message will be encountered if your PHP script memory requirements exceed the default 8MB limit. Somehow, you can overcome this by doing two methods. 1. Set Resource Limits in [...]]]></description>
			<content:encoded><![CDATA[<p>When I first encountered this error, I thought something wrong with my apache-php integration. Thank God it&#8217;s not the one I thought.</p>
<p>This PHP Fatal error message will be encountered if your PHP script memory requirements exceed the default 8MB limit. Somehow, you can overcome this by doing two methods.</p>
<p>1. Set Resource Limits in <code>/etc/php.ini</code></p>
<p><code>;;;;;;;;;;;;;;;;;;;<br />
; Resource Limits ;<br />
;;;;;;;;;;;;;;;;;;;</code></p>
<p><code>max_execution_time = 45     ; Maximum execution time of each script<br />
max_input_time = 60     ; Maximum amount may spend parsing request data<br />
memory_limit = <span style="color: #ff0000;"><strong>12M</strong></span> ; Maximum amount of memory a script may consume (8MB)</code></p>
<p>2. Initiate a function to set the Resources Limit</p>
<p><code>ini_set("memory_limit","12M");</code></p>
<p>Why so serious?!? that&#8217;s it&#8230; your done! <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/02/09/php-fatal-error-allowed-memory-size-of-8388608-bytes-exhausted-tried-to-allocate-4800-bytes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
