Fix Massive CPU Usage of Teams on MacOS

As described here, I’ve found a little fix on how to stop teams going crazy on my CPU (MacBook Pro, late 2016):

First, disable GPU acceleration within teams. To do so, go to the Settings of Teams, and check this box:

Next, I created a little shell script that allows you to start teams by killing it first, removing some cached entries (Chat history etc. remains intact), and then starts teams:

#!/bin/bash

ps ax | grep -i "Microsoft Teams.app" | grep -v grep | cut -b -5 | xargs kill -9

cd ~/Library/Application\ Support/Microsoft/Teams && \
for i in Application\ Cache/Cache blob_storage/ Cache/ databases/ GPUCache/ IndexedDB/ Local\ Storage/ tmp/; do rm -rf $i; done

open /Applications/Microsoft\ Teams.app &
Share