<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[GMan's Mods & Stuff — Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
		<link>https://gprogs.com/viewtopic.php?id=382</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=382&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bug: ZIPE not freeing up memory / closing stream after usage?.]]></description>
		<lastBuildDate>Mon, 24 Aug 2009 08:40:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1472#p1472</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (Grisu)]]></author>
			<pubDate>Mon, 24 Aug 2009 08:40:16 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1472#p1472</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1471#p1471</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Fri, 21 Aug 2009 23:56:06 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1471#p1471</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1470#p1470</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Fri, 21 Aug 2009 00:50:15 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1470#p1470</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1468#p1468</link>
			<description><![CDATA[<p>I have to thank you. </p><p>Take all the time you need.</p>]]></description>
			<author><![CDATA[null@example.com (Grisu)]]></author>
			<pubDate>Wed, 19 Aug 2009 11:41:02 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1468#p1468</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1467#p1467</link>
			<description><![CDATA[<p>thank you.&nbsp; that will help me troubleshoot.&nbsp; unforutnately i wont be able to look at this again for another 12 hours or so.&nbsp; will look at it as soon as i can.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Wed, 19 Aug 2009 11:00:38 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1467#p1467</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1465#p1465</link>
			<description><![CDATA[<p>Here&#039;s a quick example. </p><p>Just read out an image of a zip file constantly and the task mananger memory usage will go up like crazy while the GC Collector stays the same?</p><p>I have already posted that issue in the BMX bug forum. But no one could help so far.</p><p>If you have any idea or wild guess, please let me know.</p><div class="codebox"><pre><code>Framework brl.Jpgloader
Import brl.PNGloader
Import brl.Pixmap
Import gman.zipengine

SuperStrict 

Global MinMemUsage:Long=GCMemAlloced()
Global MaxMemUsage:Long=GCMemAlloced()
Global TempMemUsage:Long=0

While True &lt;&gt; False &#039; Endless loop!

Local ButtoIco_exit:TPixmap=LoadPixmap(&quot;zipe::skins\prp_red_win7.skn::prp_about.png&quot;)  &#039; Just an ordinary image file
TempMemUsage:Long=GCMemAlloced() 
If TempMemUsage &gt; MaxMemUsage Then MaxMemUsage=tempMemUsage

Print &quot;Min: &quot;+MinMemUsage
Print &quot;Max: &quot;+MaxMemUsage
Print &quot;&quot;
Delay (10) &#039; free a little CPU time

Wend
End</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Grisu)]]></author>
			<pubDate>Wed, 19 Aug 2009 07:22:47 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1465#p1465</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1463#p1463</link>
			<description><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; i didnt see anything right away that would be an issue.&nbsp; is it possible to whip up a bare-minimum example that i could run?</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Wed, 19 Aug 2009 01:12:23 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1463#p1463</guid>
		</item>
		<item>
			<title><![CDATA[Bug: ZIPE not freeing up memory / closing stream after usage?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1460#p1460</link>
			<description><![CDATA[<p>Hi!</p><p>In my &quot;Pocket Radio Player&quot; I have a memory leak when I use the stream functions of your module a lot.<br />It also seems that the zip file is still &quot;locked&quot;, even when I already have opened another one.</p><p>Example line:<br />ButtoIco_stop:TIconstrip=LoadIconStrip(&quot;zipe::skins\&quot;+filename+&quot;::prp_stop.png&quot;)</p><p>Is there a way to force the wrapper to close the stream / zip file and free the memory allocated?<br />The bmx Garbage Collector doesn&#039;t help here at all.</p><p>Thanks.</p><p>Grisu</p>]]></description>
			<author><![CDATA[null@example.com (Grisu)]]></author>
			<pubDate>Tue, 18 Aug 2009 18:11:50 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1460#p1460</guid>
		</item>
	</channel>
</rss>
