Additional features, settings, or issues not covered by specific Microsoft Teams categories
Edge browser is a great example - it did this as well, huge memory leak (just try doing a large upload using it and watch the memory usage). It's messy programming.
Apparently the only way it is fixed is when Microsoft adopts other software as their own - the new Chrome based Edge suddenly has no memory leak. I suspect their devs can fix this but Microsoft is just unwilling to invest the time it takes to write the software properly, so fixing this is not a priority - sadly, whoever manages these products apparently has a big disconnect with the actual quality of the software and user experience that they are creating.