Memory leaks with lazy load
---------------------------
Key: IBATISNET-152
URL: http://issues.apache.org/jira/browse/IBATISNET-152
Project: iBatis for .NET
Type: Bug
Environment: windows 2003 server
framework 1.1 ( + sp1)
Reporter: Achmedzhanov Nail
Assigned to: Gilles Bayon
Steps:
1) define mapping with lazy load
2) call QueryForObject many times
Result:
Memory usage increases at each call (1000 calls ~ 600Mb)
Reason:
invalid using of ProxyGenerator
Solution:
you can use one instanse of ProxyGenerator per mapper object
see http://forum.castleproject.org/posts/list/140.page
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira