ADO OpenTable database ACCESS cause memory problem !!
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hello! I open an ACCESS table, this is a very big table, for open this table I use a OLE DB with ADO Classes wrapping...but...memory problem! I open a big table with this istruction:
m_pRecordset->Open(m_strQuery.GetBuffer(), _variant_t((IDispatch*)mpdb, TRUE), adOpenKeyset, adLockOptimistic, adCmdTable); m_strQuery.ReleaseBuffer(); <\endcode> Where m_pRecordset is a _RecordsetPtr. When I performe the open istruction the memory comes literally eaten. The program in order to execute the table begins to have use of of all the RAM memory. Ther'is a BUG in the ADO Provider or other FIXED ? Any Idea ??:( Thanks in advance Too many plans make the health badly!!