Bug #69269 Memory leak on Net Connector on Framework 4.5

Submitted: 17 May 2013 15:15 Modified: 19 Aug 2013 15:47
Reporter: ymhr ymhr Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S5 (Performance)
Version:6.6.5 OS:Windows (64bit Framework 4.5)
Assigned to: Roberto Ezequiel Garcia Ballesteros CPU Architecture:Any

[17 May 2013 15:15] ymhr ymhr
Description:
My NET application perform heavy operations (insert/update/delete) on MySql Server 5.5.30 using NET Connector.
The server is Windows 2008 R2 64Bit and Framework 4.0
Recently update to Framework 4.5 and the process begin to allocate more and more memory, without releasing it.
Same application using SqlServer Connector on SqlServer 2012, no problem.
I use the connector with DataSet - TableAdapters.
If TableAdapter is configured with .UpdateBatchSize = 0, the memory leak is more serious.
Calling GC.Collect() with no problem, but if I call, after Collect, GC.WaitForPendingFinalizers(), the process hang infinitely.
 

How to repeat:
Create a NET application that perform heavy operations with the NET Connector using a 64bit system with framework 4.5 (not tried with 32bit system).
The system will quickly end up with the memory full.
[19 Aug 2013 15:47] ymhr ymhr
Unable to replicate with connector version 6.7.4.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.060 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.