PC Review


Reply
Thread Tools Rate Thread

ADO memory leaks

 
 
Peter A. Smirnoff
Guest
Posts: n/a
 
      16th Jun 2004
Hi everyone!

1) I write a simple program using ADO.(Connect-Disconnect). When, I explored
it in Numega Bounds Checker. There was a lot, lot of memory and resource
leaks. (up to ~200k) WHY?


Thx in adv,
Peter




 
Reply With Quote
 
 
 
 
John Phillips
Guest
Posts: n/a
 
      16th Jun 2004
Are you sure it's a real leak? An unbounded increase in private bytes, as
opposed to a bounded increase which suggests a caching mechanism?

If you're using BoundsChecker, it will tell you where the memory is
allocated, which would give you a hint as to what to do to fix the leak.

Otherwise, post a very small piece of code here which demonstrates the
problem, so that others can take a look at it and give you some suggestions.


--
John Phillips
MVP - Windows SDK



"Peter A. Smirnoff" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi everyone!
>
> 1) I write a simple program using ADO.(Connect-Disconnect). When, I

explored
> it in Numega Bounds Checker. There was a lot, lot of memory and resource
> leaks. (up to ~200k) WHY?
>
>
> Thx in adv,
> Peter
>
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make MODI.Document not leak memory? I have millions of images to OCR but each time i OCR one it leaks memory. How to do the OCR and then clean up so that my app doesnt leak memory? DR Microsoft C# .NET 2 5th Feb 2008 02:52 AM
How to make MODI.Document not leak memory? I have millions of images to OCR but each time i OCR one it leaks memory. How to do the OCR and then clean up so that my app doesnt leak memory? DR Microsoft Dot NET 1 4th Feb 2008 11:43 PM
How to make MODI.Document not leak memory? I have millions of images to OCR but each time i OCR one it leaks memory. How to do the OCR and then clean up so that my app doesnt leak memory? DR Microsoft Dot NET Framework 1 4th Feb 2008 11:41 PM
Memory/Resource Leaks in XP - Use 3rd party memory manager? _DS Windows XP General 16 19th Feb 2006 04:42 AM
Memory leaks? COM leaks? Outlook won't unload. Simon Smith Microsoft Outlook Program Addins 1 14th Mar 2004 08:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:29 AM.