开发者

System.LocalDataStoreElement[] memory allocation

开发者 https://www.devze.com 2023-03-23 19:22 出处:网络
After many OutOfMemoryExceptions I run memory profiler. System.LocalDataStoreElement[] cunsumes 123 GB of memory. Application consumes 70 MB after initial开发者_运维问答ization around. After work up s

After many OutOfMemoryExceptions I run memory profiler. System.LocalDataStoreElement[] cunsumes 123 GB of memory. Application consumes 70 MB after initial开发者_运维问答ization around. After work up some data, memory allocation is 700 MB (even after several GC.Collect() calls). I use Code-First Entity Framework 4.1 Update 1. Is this memory allocation common for Code-First?


I think you hit the issue described in the KB 2540745 .

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号