Methods to dispose of SQL Server CE or SQL Server 2005 Mobile Edition managed objects from memory (834279)
The information in this article applies to:
- Microsoft SQL Server 2000 Windows CE Edition 2.0
- Microsoft .NET Compact Framework
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft SQL Server 2005 Mobile Edition
SUMMARYThis article discusses the different ways to dispose of the
managed objects in Microsoft SQL Server 2000 Windows CE Edition or in SQL Server 2005 Mobile Edition that are used in applications that you create by using Microsoft Visual Studio .NET that use the Microsoft .NET Compact Framework.REFERENCESFor more information about the IDisposable interface, visit the
following Microsoft Web site: For more information about
the GC.Collect() method, visit the following Microsoft Web site: For more information about
the SqlCeConnection.Close method, visit the following Microsoft Web
site:
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824462
PRB: SqlCeCommand objects are not automatically disposed if you use a SqlCeDataAdapter object
326164 Dumpmem utility for viewing virtual address space on Pocket PC 2002
827837 FIX: SQL Server CE connection causes an out-of-memory condition when you create many SqlCeDataReader objects
Modification Type: | Minor | Last Reviewed: | 11/1/2005 |
---|
Keywords: | kbGarbageCollect kbMemory kbAppDev kbCodeSnippet kbcode kbinfo KB834279 kbAudDeveloper |
---|
|