TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gerd Blake
NA
1
0
Memory Leak using LINQ?
Apr 28 2009 7:54 AM
Dear all,
I created a windows forms application using LINQ to connect to an Microsoft SQL Server 2008. The database is acessed appr. every 5 seconds. By using an profiler (and even the task manager after some time) it's clear that my application has an strong raising memory leak. The result of the profiler was, that objects created by LINQ were not disposed. After a runtime of an couple of hours the used memory was about 100 MB which is far far to much for such a small application.
After some research I put the LINQ connection into an using block but without any effect.
Is this a bug within LINQ or do I make an mistake in using LINQ?
If requested I will post the source code next time.
Thanks in advance.
Best Regards
Gerd Blake
Reply
Answers (
1
)
IQueryable and Many-to-Many relationship
DLinq: How to get identity value after inserting a new row in table