Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.LocalDataStoreElement[] memory allocation

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?

like image 913
Václav Dajbych Avatar asked Nov 25 '25 23:11

Václav Dajbych


1 Answers

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

like image 128
Lucero Avatar answered Nov 27 '25 12:11

Lucero



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!