LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Memory Leak With ADO kb=319998

Excel has a very useful feature to allow you to query spreadsheets
using ADO. I use this feature in Excel VBA for an addin I support.
It saves me a lot of effort to get data from the spreadsheet. Not
using it would mean more or less writing an SQL processor in VBA. Not
something I want to do. The memory leak does cause a problem but I
tell users to kill Excel when it gets too slow. With some of the
larger spreadsheets I am seeing now they have to kill Excel after an
hour or less of use.

What I don't understand is this bug has been in Excel since Excel
'97. Why on earth have they not fixed it? Please tell me they fixed
it in Office 2007.

Is there any better workaround to this other than the asinine one they
propose in the article.

From MS Website


When you retrieve a Microsoft ActiveX Data Objects (ADO) Recordset
from an Excel worksheet that is open in Excel, a memory leak occurs in
the Excel process. Repeated queries may eventually cause Excel to run
out of memory and raise an error, or cause Excel to stop responding.

http://support.microsoft.com/kb/319998

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XL 2007 - Out of Memory - memory leak/bug? PCLIVE Excel Discussion (Misc queries) 0 March 23rd 09 03:31 PM
Memory Leak Sakkie Excel Programming 4 November 19th 06 09:17 AM
Memory Leak MD Excel Programming 1 May 28th 04 05:14 PM
Memory Leak GSS[_2_] Excel Programming 1 December 22nd 03 09:21 PM
Memory Leak using ADO 2.6 Jason[_17_] Excel Programming 2 August 26th 03 02:42 PM


All times are GMT +1. The time now is 12:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"