Low On Memory Error: Server 2016, B series
I just spun up a brand new Standard B1ms (1 vcpu, 2 GB memory), all I did was login to the VM and am getting out of memory errors (which would tell me windows server 2016 doesn't really support this level of VM size). Also it fails to retrieve updates - this is just a plain vanilla OOB/first run experience. Additionally you can't login and click the start button - you have to click it about 10 times to get the menu to pop up - this is probably more of a windows issue but I'd expect it to at least the basics to function.
Thanks for the valid suggestion. Your feedback is now open for the user community to upvote which allows us to effectively prioritize your request against our existing feature list and also gives us insight into the potential impact of implementing the suggested feature
Christopher W Navarro commented
I know this is old but if I got here searching for this problem, my solution may help others.
I just resolved this problem on my recently spunup Azure server by setting the virtual memory to 4096 MB on the Temporary storage (My server is 4GB). The C: drive does not have any pagefile and the temp storage had only 885 Mb -- this must have been the culprit.
Stephen Gornick commented
Same issue here with Windows Server 2016 using other Azure VM sizes as well.
DS1_v2 (3.5 GB Ram), Windows Update would stop with an error, and Event Viewer shows in the Windows System Log:
Event 2004, Resource-Exhaustion-Detector
And the Application log Microsoft-Windows-WindowsUpdateClient/Operational
Event 25, WindowsUpdateClient
"Windows Update failed to check for updates with error 0x8024000E."
After setting Virtual Memory to a "Custom size" of 4GB, Windows Updates installed without getting the Resource-Exhaustion-Detector events anymore.
Also, I could instead STOP (deallocate) the VM, change the VM size to DS2_v2 (7 GB), and the issue went away without having to adjust the Virtual Memory configuration.
Seth Thibodeaux commented
Created VM using Win 2016/Sql 2016 Std image on a B2S instance (2 vCPU / 4 GB RAM). Wanted to use it for some for non-production work. Shortly after RDPing into the VM I began receiving low memory warnings and Management Studio crashed every couple minutes inside of my RDP session. Next time I'll look at adjusting the page file size, but this is experience was disappointing.
Bill Hixon commented
Yes, this almost seems like false advertising to present this as a usable server. It did the same thing to me. I actually started with the 1GB RAM system, and it was a huge disappointment. I had to immediately go to 2GB, and I'm still getting the error. I'll try the 3880 virtual memory to see if that helps, but I really was hoping to use this as a terminal server for a half dozen users.
Stewart Campbell commented
I got round this by increasing the virtual memory to 3880 on the temporary storage drive. Its slow but updates will install. It would be interesting to see if a Windows Server Core installation suffered from the same problem.
Same problem here. I've just installed google chrome and I am getting the same error. Any ideas how to solve?