Optmizing Entity Framework memory usage to bring down service memory usage from 90% (> 8GB) to negligible. Most of the core services needed meaty VMs that had more than 8GB RAM. And these services still under-performed.
Day 0 - July 3rd, 2018
The story started when I saw this ping on the Hyper-V channel.
[03/07/2018 1:11 PM] Ketan Jawahire: When service takes more than 90% of VMs memory then it becomes really difficult to work with that VMs. PS takes minutes even to single simple statement. 😫 [03/07/2018 1:29 PM] Suneel P: changed all Ad Data Download VMs memory config to Azure config [03/07/2018 1:29 PM] Ketan Jawahire: I am going to install it on some azure VM & check for log files. Its really difficult to use PS with VMs using 90%+ memory [03/07/2018 1:30 PM] Suneel P: try using Ad data download vms - 23,28,32,38. they have enough ram now
Here’s our story of a clever hack to reduce the memory footprint of EF’s cache objects (mapper objects, etc.).