I'm new to LINQ and I have a asp.net application and have tried to layer the application. There have been many issues and I'm not sure I think that LINQ should be used with layers at all... not the way I do it anyway...
Anyway... I now got some trafic to the pages and instantly the w3wp got a major cpu % and memory. I'm guessing that some of my code is leaking memory and when i did a dump i see that the following classes are overrepresented in total memory
Code: Select all
Devart.Data.Linq.Provider.Query.t Devart.Data.Linq.Provider.Query.a4 Devart.Data.Linq.Provider.Query.aa Devart.Data.Linq.Provider.Query.bh Devart.Data.Linq.Provider.Query.bc
I'm guessing this is the queries run in the context, and that they are not released, but could you explain the exact meaning of the diffrent Query types?
I also have alot of connection and context objects (equal number of object). Since I use connectionpooling, I thought that when I created a new context, the pooling should not create a new conenction object, but instead use one of the old.