Uploaded image for project: 'iBatis for .NET'
  1. iBatis for .NET
  2. IBATISNET-152

Memory leaks with lazy load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • DataMapper 1.3
    • None
    • None
    • windows 2003 server
      framework 1.1 ( + sp1)

    Description

      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

      Attachments

        Activity

          People

            gilles Gilles Bayon
            achmed Achmedzhanov Nail
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: