{"id":14322,"date":"2020-05-05T10:33:06","date_gmt":"2020-05-05T08:33:06","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=14322"},"modified":"2020-09-15T23:22:57","modified_gmt":"2020-09-15T21:22:57","slug":"ms-teams-on-windows-server-keep-an-eye-on-your-ram","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2020\/05\/05\/ms-teams-on-windows-server-keep-an-eye-on-your-ram\/","title":{"rendered":"MS-Teams on Windows Server: Keep an eye on your RAM"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline;\" src=\"https:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2013\/03\/winb.jpg\" width=\"58\" height=\"58\" align=\"left\" \/>[<a href=\"https:\/\/www.borncity.com\/blog\/2020\/05\/05\/ms-teams-bei-windows-server-auf-virtuellen-speicher-achten\/\" target=\"_blank\" rel=\"noopener noreferrer\">German<\/a>]Brief information for administrators who are responsible for Windows servers and have Microsoft teams (Citrix, RDS, VDI) in use. Keep an eye on virtual memory, teams are a memory hog.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vg07.met.vgwort.de\/na\/88301190de074493b1e3a96ecdfacefd\" alt=\"\" width=\"1\" height=\"1\" \/>If you read up on the requirements of Microsoft teams, for example on <a href=\"https:\/\/docs.microsoft.com\/en-us\/microsoftteams\/hardware-requirements-for-the-teams-app\" target=\"_blank\" rel=\"noopener noreferrer\">this Microsoft page<\/a>, the requirements are quite moderate. And in <a href=\"https:\/\/docs.microsoft.com\/en-us\/microsoftteams\/teams-for-vdi\" target=\"_blank\" rel=\"noopener noreferrer\">this Microsoft document<\/a>, the memory requirements for teams in VDI (Virtualized Desktop Infrastructure) or Citrix environments are not exceptional. Microsoft writes, that 500 to 1024 megabytes of RAM per user should be calculated.<\/p>\n<p>But: Microsoft Teams uses the Electron Framework. I had already pointed out here in the blog (see <a href=\"https:\/\/borncity.com\/win\/2020\/01\/20\/microsoft-teams-and-its-security\/\">Microsoft Teams and it's security<\/a>), that the Eelectron framework is good for nasty surprises. Sometimes they ship outdated Chrome browsers with known vulnerabilities. But that's a different story.<\/p>\n<blockquote><p>By chance I came across <a href=\"https:\/\/www.deyda.net\/index.php\/2020\/02\/25\/teams-onedrive-in-citrix-installieren-machine-based\/\" target=\"_blank\" rel=\"noopener noreferrer\">this blog post<\/a> during my research for this article. It deals with the installation of teams in (Citrix) environments. Maybe it's helpful for somebody.<\/p><\/blockquote>\n<h2>Observation: Server runs out of memory<\/h2>\n<p>I just got caught up in <a href=\"https:\/\/twitter.com\/Deyda84\/status\/1257232629029576704\" target=\"_blank\" rel=\"noopener noreferrer\">this tweet<\/a> from Manuel Winkel, thought it will be helpful to compile it into an article. Winkel is a Citrix Technology Advocate (CTA) and also takes care of team installations (with Citrix) on Windows servers for customers.<\/p>\n<blockquote class=\"twitter-tweet\">\n<p dir=\"ltr\" lang=\"en\">I've recently had to complain about the RAM usage aswell.<br \/>\nIt seem a more recent Teams version is a bit savy. Only 500-800 MB per user.<br \/>\nWelcome to electron \/ web apps.<a href=\"https:\/\/twitter.com\/MicrosoftTeams?ref_src=twsrc%5Etfw\">@MicrosoftTeams<\/a><\/p>\n<p>\u2014 al Qamar (Karl Wester-Ebbinghaus) (@tweet_alqamar) <a href=\"https:\/\/twitter.com\/tweet_alqamar\/status\/1257419670635806720?ref_src=twsrc%5Etfw\">May 4, 2020<\/a><\/p><\/blockquote>\n<p><span id=\"preserve4b1034f20611447d9eae727c94a73481\" class=\"wlWriterPreserve\"><script src=\"https:\/\/platform.twitter.com\/widgets.js\" async=\"\" charset=\"utf-8\"><\/script><\/span><\/p>\n<p>A customer who runs Microsoft teams on Windows Server (with Citrix App virtualization) encountered a problem. The Windows Server instanced was making trouble. Manuel told me in an answer tweet, the Microsoft Teams runs in a Citrix environment and the server stopped it's general work. Only after a hard reboot the machine was able again to run normally.<\/p>\n<blockquote><p>And there was another addition on Twitter: In this case it was a Windows Server 2019 with teams 1.3.00.4461 (64-bit) machine based install and Citrix vda 1912. the screenshot was with optimization. But Manuel had seen the same behavior without optimization.<\/p><\/blockquote>\n<p>An analysis showed that Microsoft teams used more than 8 gigabytes of memory per user. By then, 13 users were enough to bring the server down. It turned out that the virtual memory for Windows servers was set too small. After increasing the value for PageFile, the server ran stable again.<\/p>\n<blockquote><p>In <a href=\"https:\/\/twitter.com\/guyrleech\/status\/1257235554929967104\" target=\"_blank\" rel=\"noopener noreferrer\">this reply<\/a> to Twitter Tweet, someone points out that technically it is not a 'virtual memory' limitation, but rather a matter of 'committed memory' &#8211; the amount of memory reserved for a process (RAM and PageFile). He has also linked the corresponding Microsoft document.<\/p><\/blockquote>\n<p>German blog reader Karl points out in <a href=\"https:\/\/twitter.com\/tweet_alqamar\/status\/1257419670635806720\" target=\"_blank\" rel=\"noopener noreferrer\">his answer<\/a> at Twitter (see above Twitter excerpt) that he has already noticed this. He points his finger at the Electron framework. Microsoft also deals with this topic in the article <a href=\"https:\/\/docs.microsoft.com\/en-us\/microsoftteams\/teams-memory-usage-perf\" target=\"_blank\" rel=\"noopener noreferrer\">How Microsoft Teams uses memory<\/a>. I don't know if this always happens &#8211; just take the message as a hint to keep an eye on the virtual memory setting on Windows Server when using teams (VDI, Citrix, RDS).<\/p>\n<p><strong>Similar articles:<br \/>\n<\/strong><a href=\"https:\/\/borncity.com\/win\/2020\/04\/02\/verursacht-windows-10-vpn-bug-fix-update-teams-probleme\/\">Does Windows 10 VPN Bug-Fix Update cause Teams issues?<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2020\/03\/24\/temporary-restrictions-for-ms-teams-onenote-office365\/\">Temporary restrictions for MS Teams, OneNote, Office365<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2020\/02\/03\/ms-teams-due-to-certificate-failure-down-feb-3-2020\/\">Microsoft Teams down due to certificate failure (Feb. 3, 2020)<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2020\/01\/20\/microsoft-teams-and-its-security\/\">Microsoft Teams and it's security<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]Brief information for administrators who are responsible for Windows servers and have Microsoft teams (Citrix, RDS, VDI) in use. Keep an eye on virtual memory, teams are a memory hog.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1547,2],"tags":[2418,159],"class_list":["post-14322","post","type-post","status-publish","format-standard","hentry","category-software","category-windows","tag-microsoft-teams","tag-windows-server"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/14322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=14322"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/14322\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=14322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=14322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=14322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}