If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Memory leak problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-13-03, 01:06
Tapesh Tapesh is offline
Registered User
 
Join Date: Dec 2003
Posts: 3
Question Memory leak problem

Hello Everyone,
greetings,
I wrote an application using MFC CDatabase and Crecordset classes to access the MS Access Database.My application continuesly open and close connection. When I test it with Rational Purify, it shows Memory leaks in CDatabase::OpenEx and Crecordseten statement.

I didnt use any dynamic allocation in my application and i close all connections properly.

I want to know is MFC CRecordset and CDatabase classes leaks memory or this is the problem with my application itself.

Plz suggest me to get out with this precarious situation.
Thanks
Regards
Tapesh
Reply With Quote
  #2 (permalink)  
Old 12-13-03, 01:10
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Which version of mdac are you using ?
Reply With Quote
  #3 (permalink)  
Old 12-15-03, 03:44
Tapesh Tapesh is offline
Registered User
 
Join Date: Dec 2003
Posts: 3
Sir,
Thanks for your reply.
I am using MDAC version 2.7.
Waiting for your earliest reply.
Regards
Tapesh
Reply With Quote
  #4 (permalink)  
Old 12-15-03, 13:23
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Usually this is associated with mdac problems. Check for service packs for 2.7 or install 2.8. Have you tried this with another database - like oracle/sql server/mysql ... ?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On