<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Memory Leaks With Objects in PHP 5</title>
	<atom:link href="http://paul-m-jones.com/archives/262/feed" rel="self" type="application/rss+xml" />
	<link>http://paul-m-jones.com/archives/262?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=memory-leaks-with-objects-in-php-5</link>
	<description>It&#039;s not enough to be smart; you have to actually know things.</description>
	<lastBuildDate>Wed, 16 May 2012 17:27:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Christian</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-423412</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Tue, 03 Apr 2012 18:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-423412</guid>
		<description>Thanks for this interesting article.

It seems that this problem no longer exists with PHP 5.3.x - at least the example mentioned above works fine with PHP 5.3.3 and GC turned on. Maybe you should mention this in your post.

Bye
     Christian</description>
		<content:encoded><![CDATA[<p>Thanks for this interesting article.</p>
<p>It seems that this problem no longer exists with PHP 5.3.x &#8211; at least the example mentioned above works fine with PHP 5.3.3 and GC turned on. Maybe you should mention this in your post.</p>
<p>Bye<br />
     Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vandad</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-422927</link>
		<dc:creator>vandad</dc:creator>
		<pubDate>Mon, 27 Feb 2012 23:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-422927</guid>
		<description>Hello, I have a question.
in this code 
1.Does &quot;__destruct&quot; work automatically after perform &quot;new name&quot;?/in wampserver it works automatically!!
 2.I saw it&#039;s better to write $foo-&gt;__destruct(); so what? )-:
myname =$data;
       }
function __destruct{
unset($this-&gt;myname);
       }
}
$v = new name(&quot;Dan&quot;);
unset($v);
?&gt;</description>
		<content:encoded><![CDATA[<p>Hello, I have a question.<br />
in this code<br />
1.Does &#8220;__destruct&#8221; work automatically after perform &#8220;new name&#8221;?/in wampserver it works automatically!!<br />
 2.I saw it&#8217;s better to write $foo-&gt;__destruct(); so what? )-:<br />
myname =$data;<br />
       }<br />
function __destruct{<br />
unset($this-&gt;myname);<br />
       }<br />
}<br />
$v = new name(&#8220;Dan&#8221;);<br />
unset($v);<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vandad</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-422926</link>
		<dc:creator>vandad</dc:creator>
		<pubDate>Mon, 27 Feb 2012 23:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-422926</guid>
		<description>Hello, I have a question.
in this code 
1.Does &quot;__destruct&quot; work automatically after perform &quot;new name(&quot;Dan&quot;)&quot;?/in wampserver it works automatically!!
 2.I saw it&#039;s better to write $foo-&gt;__destruct(); so what? )-:
myname =$data;
       }
function __destruct{
unset($this-&gt;myname);
       }
}
$v = new name(&quot;Dan&quot;);
unset($v);
?&gt;</description>
		<content:encoded><![CDATA[<p>Hello, I have a question.<br />
in this code<br />
1.Does &#8220;__destruct&#8221; work automatically after perform &#8220;new name(&#8220;Dan&#8221;)&#8221;?/in wampserver it works automatically!!<br />
 2.I saw it&#8217;s better to write $foo-&gt;__destruct(); so what? )-:<br />
myname =$data;<br />
       }<br />
function __destruct{<br />
unset($this-&gt;myname);<br />
       }<br />
}<br />
$v = new name(&#8220;Dan&#8221;);<br />
unset($v);<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaitlyn</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-422882</link>
		<dc:creator>Kaitlyn</dc:creator>
		<pubDate>Thu, 16 Feb 2012 14:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-422882</guid>
		<description>What do you use to monitor PHP memory usage?</description>
		<content:encoded><![CDATA[<p>What do you use to monitor PHP memory usage?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miah</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-422868</link>
		<dc:creator>Miah</dc:creator>
		<pubDate>Thu, 09 Feb 2012 21:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-422868</guid>
		<description>I&#039;m using someone else&#039;s class and the implementation requires new object to be created in a loop. Will this cause memory leak? The class doesn&#039;t seem to have function to release or empty the object so moving the object creation outside of the loop will result adding more and more content into the object. Any thoughts?</description>
		<content:encoded><![CDATA[<p>I&#8217;m using someone else&#8217;s class and the implementation requires new object to be created in a loop. Will this cause memory leak? The class doesn&#8217;t seem to have function to release or empty the object so moving the object creation outside of the loop will result adding more and more content into the object. Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wildcat</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-420586</link>
		<dc:creator>wildcat</dc:creator>
		<pubDate>Mon, 09 May 2011 11:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-420586</guid>
		<description>Interesting reading...
On the same topic: &lt;a href=&quot;http://wildness.espix.org/index.php?post/2011/05/09/PHP5%3A-Memory-leak-with-object-arrays&quot; rel=&quot;nofollow&quot;&gt;http://wildness.espix.org/index.php?post/2011/05/09/PHP5%3A-Memory-leak-with-object-arrays&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Interesting reading&#8230;<br />
On the same topic: <a href="http://wildness.espix.org/index.php?post/2011/05/09/PHP5%3A-Memory-leak-with-object-arrays" rel="nofollow">http://wildness.espix.org/index.php?post/2011/05/09/PHP5%3A-Memory-leak-with-object-arrays</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek Dilliwal</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-419170</link>
		<dc:creator>Abhishek Dilliwal</dc:creator>
		<pubDate>Fri, 21 Jan 2011 15:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-419170</guid>
		<description>http://php.net/manual/en/features.gc.php
^---May be this link will help about the internal working of PHP.
btw nice article and nice suggestion of using __destructor i was searching on PHP memory leaks and found this page :)

--Abhishek</description>
		<content:encoded><![CDATA[<p><a href="http://php.net/manual/en/features.gc.php" rel="nofollow">http://php.net/manual/en/features.gc.php</a><br />
^&#8212;May be this link will help about the internal working of PHP.<br />
btw nice article and nice suggestion of using __destructor i was searching on PHP memory leaks and found this page :)</p>
<p>&#8211;Abhishek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP 4 and PHP 5 &#171; ARP&#8217;s Web Blog</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-418218</link>
		<dc:creator>PHP 4 and PHP 5 &#171; ARP&#8217;s Web Blog</dc:creator>
		<pubDate>Tue, 12 Oct 2010 11:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-418218</guid>
		<description>[...] much organized garbage collection ( this has to be implemented using our own logic ) to see more read this Possibly related posts: (automatically generated)&#8220;Fieldwork&#8221; ch 7 responsePHP Interview [...]</description>
		<content:encoded><![CDATA[<p>[...] much organized garbage collection ( this has to be implemented using our own logic ) to see more read this Possibly related posts: (automatically generated)&ldquo;Fieldwork&rdquo; ch 7 responsePHP Interview [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-417472</link>
		<dc:creator>vikas</dc:creator>
		<pubDate>Thu, 12 Aug 2010 10:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-417472</guid>
		<description>this is exactly happening with me. i am using PEARs to extract large number of xml files in a loop. memory consumption is always increasing on each cycle :(</description>
		<content:encoded><![CDATA[<p>this is exactly happening with me. i am using PEARs to extract large number of xml files in a loop. memory consumption is always increasing on each cycle :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabian</title>
		<link>http://paul-m-jones.com/archives/262/comment-page-1#comment-416255</link>
		<dc:creator>Fabian</dc:creator>
		<pubDate>Tue, 08 Jun 2010 14:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://paul-m-jones.com/blog/?p=262#comment-416255</guid>
		<description>Working perfectly in PHP 5.3.2 now. Seems to be fixed. At least Garbage Collection start every now and then and cleans memory a little.</description>
		<content:encoded><![CDATA[<p>Working perfectly in PHP 5.3.2 now. Seems to be fixed. At least Garbage Collection start every now and then and cleans memory a little.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

