Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
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