Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB Connectivity » View Thread |
Messages 1 to 2 of 2 total |
204b4 Memory Leak in .NET Provider |
Tue, Jan 11 2011 6:31 AM | Permanent Link |
Hedley Muscroft | Hi Tim,
I've emailed you a separate email with a sample project attached to demonstrate the problem. It seems that when creating a EDBDataAdapter object, the EDB engine implicitly creates an EDBCommand object and attaches it to the Adapter.SelectCommand, but this doesn't get Disposed correctly. Please run the sample application, open up Task Manager (go to "Processes" to see the Memory consumption). Now click the TEST button a few time. All it's doing is filling a DataTable. As you'll see, the memory just keeps going up. I used .NET Memory Profiler and it seems that there's a whole raft of EDBxxxxx objects which are hanging around in an "undisposed" state and aren't being Garbage Collected. Now if you enable the two lines of code to dispose of the Adapter.SelectCommand object and repeat the above. .NET Memory Profiler now shows the objects are being GC'd correctly and the memory is freed as you can see in Task Manager. I noticed this problem when users started getting "Out of Memory" errors with our since upgrading from 2.03b24 to 2.04b4. Hope this helps and hope for a speedy fix - thanks! Hedley |
Tue, Jan 11 2011 3:05 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Hedley,
<< I've emailed you a separate email with a sample project attached to demonstrate the problem. >> Thanks - looking into this. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, May 23, 2024 at 07:54 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |