calling Session.CreateQuery multiple times is causing a memory leak. Is there a way to manually displse of the query created by the call to Session.CreateQuery after I have finished with it? Thanks in advance |
Yes it is.
So you have two options 1) (Preferable) You can use
2) Or you can cast query instance to
Thanks - I'll give that a try! When looking at the code the IDbCommand instance is disposed, what is the site-effect of not disposing? open connections? No, not connections. Connections are managed by Side effects of not disposing |
This is in DataObjects.Net 3.x ?
this is version 3.9.5.7782