Memory leak problem with datacontext
Posted: Tue 08 Dec 2009 01:41
You have announced in some previous versions that you have managed to fix memory leak problems.
However, we are currently using the latest version (MySQL 5.50.57) and we deployed our application last week. After a few hours our servers ran into memory leak each time.
After some investigation we found out the problem is caused by datacontext which were never collected by Garbage-collector.
We have solved this problem by explicit disposing of the DataContext (by "using" statement). The problem with memory leak has never appeared again.
Of course, I understand that disposing some large objects belongs to good manners - at least. However, it should not be necessary - I assured this on MSDN articles concerning .Net LinqToSql.
So I supppose it is quite a serious bug in Devart LingToSql library.
I would really appreciate if you can check this issue responsibly.
Thank you in advance.
However, we are currently using the latest version (MySQL 5.50.57) and we deployed our application last week. After a few hours our servers ran into memory leak each time.
After some investigation we found out the problem is caused by datacontext which were never collected by Garbage-collector.
We have solved this problem by explicit disposing of the DataContext (by "using" statement). The problem with memory leak has never appeared again.
Of course, I understand that disposing some large objects belongs to good manners - at least. However, it should not be necessary - I assured this on MSDN articles concerning .Net LinqToSql.
So I supppose it is quite a serious bug in Devart LingToSql library.
I would really appreciate if you can check this issue responsibly.
Thank you in advance.