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/04 19:21:45 UTC

[jira] Closed: (IBATISNET-152) Memory leaks with lazy load

     [ http://issues.apache.org/jira/browse/IBATISNET-152?page=all ]
     
Gilles Bayon closed IBATISNET-152:
----------------------------------

    Fix Version: DataMapper 1.3
     Resolution: Invalid

Already fixed in last version

> 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
>      Fix For: DataMapper 1.3

>
> 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