You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Gilles Bayon (JIRA)" <ib...@incubator.apache.org> on 2006/04/03 19:07:59 UTC
[jira] Commented: (IBATISNET-152) Memory leaks with lazy load
[ http://issues.apache.org/jira/browse/IBATISNET-152?page=comments#action_12372973 ]
Gilles Bayon commented on IBATISNET-152:
----------------------------------------
Which iBATIS version do you used ?
> 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
> Assignee: 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