<?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: Excel Using a Lot of CPU</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2009/02/03/excel-using-a-lot-of-cpu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2009/02/03/excel-using-a-lot-of-cpu/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Pet Lahev</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/02/03/excel-using-a-lot-of-cpu/#comment-37751</link>
		<dc:creator>Pet Lahev</dc:creator>
		<pubDate>Wed, 04 Feb 2009 21:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2023#comment-37751</guid>
		<description>&lt;p&gt;I had similary problem with ADO and Exxel. When I use Query for many times, Excel takes more and more memory and finally crashed.&lt;br&gt;
I found this and it solved it&lt;br&gt;
&lt;a href=&quot;http://support.microsoft.com/kb/319998&quot; rel=&quot;nofollow&quot;&gt;http://support.microsoft.com/kb/319998&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I had similary problem with ADO and Exxel. When I use Query for many times, Excel takes more and more memory and finally crashed.<br />
I found this and it solved it<br />
<a href="http://support.microsoft.com/kb/319998" rel="nofollow">http://support.microsoft.com/kb/319998</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan Scott</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/02/03/excel-using-a-lot-of-cpu/#comment-37748</link>
		<dc:creator>Stan Scott</dc:creator>
		<pubDate>Wed, 04 Feb 2009 20:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2023#comment-37748</guid>
		<description>&lt;p&gt;Good point.  Last year, I streamlined someone else&#039;s VBA code dramatically.  I found that not only were two objects not being deallocated, they were created INSIDE a large loop.  That meant that every time the code was run, more Excel memory was taken away.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good point.  Last year, I streamlined someone else&#8217;s VBA code dramatically.  I found that not only were two objects not being deallocated, they were created INSIDE a large loop.  That meant that every time the code was run, more Excel memory was taken away.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/02/03/excel-using-a-lot-of-cpu/#comment-37734</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Wed, 04 Feb 2009 14:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2023#comment-37734</guid>
		<description>&lt;p&gt;&quot;rsInvoice should have been deallocated&quot;&lt;/p&gt;
&lt;p&gt;I didn&#039;t test it, but I think if I would have closed the recordset, VBA would have cleaned up the variable instance.  But the fact that I didn&#039;t close it, kept it open and VBA wouldn&#039;t destroy something that was active.  Another odd thing, to me, is that Excel wasn&#039;t using an inordinate amount of memory, just CPU.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;rsInvoice should have been deallocated&#8221;</p>
<p>I didn&#8217;t test it, but I think if I would have closed the recordset, VBA would have cleaned up the variable instance.  But the fact that I didn&#8217;t close it, kept it open and VBA wouldn&#8217;t destroy something that was active.  Another odd thing, to me, is that Excel wasn&#8217;t using an inordinate amount of memory, just CPU.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Karel Pieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/02/03/excel-using-a-lot-of-cpu/#comment-37723</link>
		<dc:creator>Jan Karel Pieterse</dc:creator>
		<pubDate>Wed, 04 Feb 2009 07:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2023#comment-37723</guid>
		<description>&lt;p&gt;Is this recordset object by any chance in a class module with multiple instances instantiated from another class?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Is this recordset object by any chance in a class module with multiple instances instantiated from another class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/02/03/excel-using-a-lot-of-cpu/#comment-37721</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Wed, 04 Feb 2009 06:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2023#comment-37721</guid>
		<description>&lt;p&gt;I am curious as to what &quot;these objects were in loops&quot; means.  And, how that translated to &quot;a lot of them left open&quot;  If the rsInvoice was used in an inner loop of sorts, you must have been reusing the object.  So, you should have only one of them.  OTOH, if you wrote a procedure to tackle the inner loop, the rsInvoice should have been deallocated whenever you exited the procedure.  So, does your experience point to a serious bug in the VB runtime/OS garbage collector?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am curious as to what &#8220;these objects were in loops&#8221; means.  And, how that translated to &#8220;a lot of them left open&#8221;  If the rsInvoice was used in an inner loop of sorts, you must have been reusing the object.  So, you should have only one of them.  OTOH, if you wrote a procedure to tackle the inner loop, the rsInvoice should have been deallocated whenever you exited the procedure.  So, does your experience point to a serious bug in the VB runtime/OS garbage collector?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

