Skip to content

Conversation

@macdao
Copy link

@macdao macdao commented Apr 22, 2017

the monitor from commons-io cause a high CPU usage (com.docker.hyperkit and com.docker.osxfs use 400% on a MacBook Pro) on Docker for Mac when there's 1000+ JSON files.

see docker/for-mac#82 (comment)

using Watch Service can reduce the high CPU usage (from 400% to 2%)

known issues

macdao added 6 commits April 21, 2017 23:41
…ice from Java 7

the monitor from commons-io cause a high CPU usage (com.docker.hyperkit and com.docker.osxfs use 400% on a MacBook Pro) on Docker for Mac
see docker/for-mac#82 (comment)
using Watch Service can reduce the high CPU usage (from 400% to 2%)

known issues

- Watch Service will work on pure macOS by polling (just as commons-io): http://stackoverflow.com/questions/9588737/is-java-7-watchservice-slow-for-anyone-else
- Watch Service won't work on Docker Toolbox above Win 7: https://www.virtualbox.org/ticket/10660
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant