Fix the memory leak in the macOS OneDrive client!
There has been a serious memory leak in the OneDrive client for macOS for over a year. There are multiple posts on the OneDrive support forum about this, and I've made multiple support requests all of which have come to naught.
The symptoms are quite simple - on machines running Sierra and High Sierra the OneDrive client's memory foot print grows without ceasing over time, eventually causing the host machine to run out of memory. See attached image for memory footprint on a High Sierra running MacPro after 7 hours 39 minutes from a cold boot ,with OneDrive (latest version) running as a login in startup item.
Why this is not something that MS is prepared to fix is a mystery - but in the latest attempt to get some support the suggestion has been made that the only way to get this fixed is to propose it as a 'feature request'.
In what universe "fixing the software" is a feature request?
Anyhow - request made.
We have been working on several memory leak fixes recently. One of the main ones was fixed with Standalone version 19.086.0502.0008 and Store version 19.103.0527.0003. If you are not on one of those builds or higher, please update first. If you are still experiencing issues after updating, let us know. We will continue to focus on performance improvements, including memory utilization.
Guillaume Peersman commented
same here, it keeps on growing !
any fix besides restarting OneDrive periodically?
Unacceptable given the recent price hikes to office365 in Australia. Now considering moving to iCloud because the price difference is negligible now.
Totally agree. The Mac port of OneDrive is atrocious. There is just no excuse for memory leaks of this size - 10s of GB are very common, which brings any system to its knees. It is slow, buggy and bloated. Not too sure how we ask Microsoft to lift its game by a feature request, but there you go.
Same issue, but it does happen with all Microsoft products on my Mac. OneDrive eats memory, Outlook eats memory, Excel eats memory. Been like that since we switched to o365 about 18 months ago.
Bryan So commented
With recent updates it is getting worse and worse and worse. On my iMac that has only 16GB RAM it used to use up 9GB. A few days ago I ran it to sync some new files and forgot to kill it afterwards. One day later it is taking up 90GB memory as shown in Activity Monitor. Whole Mac slowed to a crawl until I managed to kill it.
This is a prevalent issue and needs to be addressed. OneDrive works fine on Windows, but the experience is absolutely terrible on macOS and iOS.
Benjamin P Snyder commented
I have 16GB of RAM on my 2017 15" MBP and I am finding myself restarting OneDrive every day or two because it shows 30+GB of RAM usage in Activity Monitor.
Compared to dropbox onedrive is a joke. Constant failures, a memory leak like it was written by a 1st year student. Pathetic.
Bryan So commented
Same here. It has been like this for years, not just months. I do like the free space that comes with my Office license (or may be something factored into the price, rather than free). I have to run OneDrive to sync. Quit it when done. I don't think MS cares any more.
Constantly been having this problem for the last few months. When contact support they will you reset the app through a command file hidden in 'resources' folder. However that does nothing!
Mark Denmarsh commented
Freaking disaster. Unusable. I'd gather most people have no idea why there Mac is slowed to a crawl and out of memory. 14.65 GB. Using more memory than paralles! typical **** MS product.
My machine becomes unusable with OneDrive running. Left unchecked, it will consume up to 15 GB of memory before I'm unable to use my MacBook Pro (10.13.6). Force quitting is the only way to resolve the issue.
Karl Martin Karlsson commented
I am surprised that not more people have voted for this. I have the same problem on all my Mac, and would expect Microsoft to have a strong interest in fixing it.