<?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: SimplePie Memory Leak Update</title>
	<atom:link href="http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/</link>
	<description>Benjie Gillam&#039;s blog, and home of MythPyWii - probably the best Wii remote (Wiimote) interface to MythTV - see sidebar.</description>
	<lastBuildDate>Fri, 25 Jun 2010 06:25:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Vik</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-4704</link>
		<dc:creator>Vik</dc:creator>
		<pubDate>Sat, 20 Jun 2009 16:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-4704</guid>
		<description>Thanks very much for this info, Benjie!</description>
		<content:encoded><![CDATA[<p>Thanks very much for this info, Benjie!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjie</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-4693</link>
		<dc:creator>Benjie</dc:creator>
		<pubDate>Sat, 20 Jun 2009 08:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-4693</guid>
		<description>Hi Vik, 

I&#039;ve fixed the brackets. Its possible that this &#039;fix&#039; is no longer necessary - it is quite old now! I don&#039;t remember, it could be one of two things:

1) There used to be a __destruct() for SimplePie_Sanitize that isn&#039;t there any more (in which case delete that line from the PHP), or
2) You need to implement __destruct() for SP_S (probably using similar code to the above)

Sorry I can&#039;t look into it more, I don&#039;t use SimplePie any more as I have no need of PHP RSS readers. Let me know how you get on!

Benjie</description>
		<content:encoded><![CDATA[<p>Hi Vik, </p>
<p>I&#8217;ve fixed the brackets. Its possible that this &#8216;fix&#8217; is no longer necessary &#8211; it is quite old now! I don&#8217;t remember, it could be one of two things:</p>
<p>1) There used to be a __destruct() for SimplePie_Sanitize that isn&#8217;t there any more (in which case delete that line from the PHP), or<br />
2) You need to implement __destruct() for SP_S (probably using similar code to the above)</p>
<p>Sorry I can&#8217;t look into it more, I don&#8217;t use SimplePie any more as I have no need of PHP RSS readers. Let me know how you get on!</p>
<p>Benjie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vik</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-4678</link>
		<dc:creator>Vik</dc:creator>
		<pubDate>Fri, 19 Jun 2009 23:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-4678</guid>
		<description>Hi Benjie,

Thanks for your reply. The missing brackets are in your sample code -- could you update it? Also, even if I add them, ie. __destruct(); -- I still get this error:

Call to undefined method SimplePie_Sanitize::__destruct()

How can I correct this? Thanks very much in advance for this great, much-needed fix to SimplePie!</description>
		<content:encoded><![CDATA[<p>Hi Benjie,</p>
<p>Thanks for your reply. The missing brackets are in your sample code &#8212; could you update it? Also, even if I add them, ie. __destruct(); &#8212; I still get this error:</p>
<p>Call to undefined method SimplePie_Sanitize::__destruct()</p>
<p>How can I correct this? Thanks very much in advance for this great, much-needed fix to SimplePie!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Shipley</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-472</link>
		<dc:creator>Michael Shipley</dc:creator>
		<pubDate>Fri, 05 Sep 2008 21:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-472</guid>
		<description>Hi Benjie! I was just trying to clear up Rémi Prévost&#039;s misconception that this was a SimplePie bug. :-) I totally agree there needs to be a workaround for this until PHP 5.3 is released and calling the SimplePIe destruct method manually in the latest version of SimplePie (1.1.1) works partially to do that. :-)</description>
		<content:encoded><![CDATA[<p>Hi Benjie! I was just trying to clear up Rémi Prévost&#8217;s misconception that this was a SimplePie bug. <img src='http://www.benjiegillam.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I totally agree there needs to be a workaround for this until PHP 5.3 is released and calling the SimplePIe destruct method manually in the latest version of SimplePie (1.1.1) works partially to do that. <img src='http://www.benjiegillam.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjie</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-462</link>
		<dc:creator>Benjie</dc:creator>
		<pubDate>Fri, 05 Sep 2008 08:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-462</guid>
		<description>Vik, you need to put brackets after __destruct - i.e. __destruct(); - because it is a function not a value.

Hope this helps (probably not by now!), sorry for delay in replying - was on honeymoon when you wrote your comment, and have only just got internet at my new flat.

Benjie.</description>
		<content:encoded><![CDATA[<p>Vik, you need to put brackets after __destruct &#8211; i.e. __destruct(); &#8211; because it is a function not a value.</p>
<p>Hope this helps (probably not by now!), sorry for delay in replying &#8211; was on honeymoon when you wrote your comment, and have only just got internet at my new flat.</p>
<p>Benjie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjie</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-461</link>
		<dc:creator>Benjie</dc:creator>
		<pubDate>Fri, 05 Sep 2008 08:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-461</guid>
		<description>Hi Michael, I realise this (now) - but it still needs a fix/workaround for people who want to parse large numbers of feeds at once until everyone is running 5.3 (which won&#039;t be for a long time!). It&#039;s annoying that you have to work around the limitations and bugs of your programming language, but that is life - and there are ways to do it without memory loss. Thanks for your clarification though!</description>
		<content:encoded><![CDATA[<p>Hi Michael, I realise this (now) &#8211; but it still needs a fix/workaround for people who want to parse large numbers of feeds at once until everyone is running 5.3 (which won&#8217;t be for a long time!). It&#8217;s annoying that you have to work around the limitations and bugs of your programming language, but that is life &#8211; and there are ways to do it without memory loss. Thanks for your clarification though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Shipley</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-459</link>
		<dc:creator>Michael Shipley</dc:creator>
		<pubDate>Fri, 05 Sep 2008 07:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-459</guid>
		<description>Hi, this is Mike from the SimplePie project. This isn&#039;t a bug in SimplePie, it&#039;s a bug in PHP 5.2&#039;s GC (garbage collector). Calling __destruct is just a way to compensate for this bug. The next version of PHP, version 5.3, which is slated to be released by October 2008, should fix this.</description>
		<content:encoded><![CDATA[<p>Hi, this is Mike from the SimplePie project. This isn&#8217;t a bug in SimplePie, it&#8217;s a bug in PHP 5.2&#8242;s GC (garbage collector). Calling __destruct is just a way to compensate for this bug. The next version of PHP, version 5.3, which is slated to be released by October 2008, should fix this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rémi Prévost</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-439</link>
		<dc:creator>Rémi Prévost</dc:creator>
		<pubDate>Wed, 03 Sep 2008 18:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-439</guid>
		<description>Wow, I can&#039;t believe they haven&#039;t fixed the bug months after it was found! Thanks a bunch for your patch!</description>
		<content:encoded><![CDATA[<p>Wow, I can&#8217;t believe they haven&#8217;t fixed the bug months after it was found! Thanks a bunch for your patch!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vik</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-292</link>
		<dc:creator>Vik</dc:creator>
		<pubDate>Tue, 05 Aug 2008 12:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-292</guid>
		<description>I&#039;m getting an error at:
  
  $this-&gt;sanitize-&gt;__destruct; 

...saying:

  Message: Undefined property: SimplePie_Sanitize::$__destruct

How can I correct this? Thanks very much in advance for any info.</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting an error at:</p>
<p>  $this-&gt;sanitize-&gt;__destruct; </p>
<p>&#8230;saying:</p>
<p>  Message: Undefined property: SimplePie_Sanitize::$__destruct</p>
<p>How can I correct this? Thanks very much in advance for any info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Parman</title>
		<link>http://www.benjiegillam.com/2008/02/simplepie-memory-leak-update/comment-page-1/#comment-9</link>
		<dc:creator>Ryan Parman</dc:creator>
		<pubDate>Sat, 19 Apr 2008 22:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://benjiegillam.com/serendipity/archives/32-guid.html#comment-9</guid>
		<description>In SimplePie 1.1, you need to manually call the __destruct() method before unsetting your $feed variable. Is this an alteration of the function that 1.1 shipped with? Have you posted a bug to http://bugs.simplepie.org? If so, let me know, and we&#039;ll integrate this patch.</description>
		<content:encoded><![CDATA[<p>In SimplePie 1.1, you need to manually call the __destruct() method before unsetting your $feed variable. Is this an alteration of the function that 1.1 shipped with? Have you posted a bug to <a href="http://bugs.simplepie.org?" rel="nofollow">http://bugs.simplepie.org?</a> If so, let me know, and we&#8217;ll integrate this patch.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
