After many OutOfMemoryExceptions I run memory profiler. System.LocalDataStoreElement[] cunsumes 123 GB of memory. Application consumes 70 MB after initialization 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 .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With