As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Nuxeo Drive for Mac uses 100% CPU all the time, consuming rapidly my battery, what can be done to minimize the CPU activity?
Hi,
I imagine that you have a lot of files in your Nuxeo Drive folder. This is a known issue tracked by https://jira.nuxeo.com/browse/NXP-10951 on which we have planned to work at the beginning of next year: for now the client spends a lot of time scanning the file system to detect changes, whereas it should use a notification mechanism to get informed of the actual changes, which would obviously eat less CPU and battery.
As a workaround you can:
max-sync-step
delay
You will need to use the command line for this, for instance:
ndrive --max-sync-step=1000000 --delay=60
Hope this helps.
Hi.
I have the same problem, and the settings provided do really bring the CPU usage down.
However, the way it is being instructed to launch the application locks a Terminal window while the application is running. It only returns to the prompt when you quit the nuxeo-drive App... and if you close the Terminal window, the application dies.
An alternative way to launch the application with arguments, and not holding a Terminal window, is:
open -a /Applications/Nuxeo\ Drive.app --args --max-sync-step=1000000 --delay=60
Nevertheless, I would prefer that the application would not refresh/reset the file ~/LIbrary/LaunchAgents/org.nuxeo.drive.plist every time it is (re)started and could enable the setting of these startup parameters (and others) in it, like:
~/LIbrary/LaunchAgents/org.nuxeo.drive.plist
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>org.nuxeo.drive.agentlauncher</string> <key>RunAtLoad</key> <true/> <key>Program</key> <string>/Applications/Nuxeo Drive.app/Contents/MacOS/Nuxeo Drive</string> <key>ProgramArguments</key> <array> <string>--max-sync-step=1000000</string> <string>--delay=60</string> </array> </dict> </plist>
Thanks for the info.
[ataillefer](https
Hi, could you please send us a bug report for us to investigate ? Thank you ( rcattiau@nuxeo.com )
[Rémi Cattiau](https