Bug #447

mac version not coping with largeish directory hierarchies

Added by Chris Cannam about 12 years ago. Updated about 12 years ago.

Status:ClosedStart date:2012-03-13
Priority:UrgentDue date:
Assignee:Chris Cannam% Done:

0%

Category:-
Target version:1.2

Description

The documentation for QFileSystemWatcher says:

On Mac OS X 10.4 [...] an open file descriptor is required for
each monitored file. [...] This means that addPath() and
addPaths() will fail if your process tries to add more than 256
files or directories to the file system monitor [...] Mac OS X
10.5 and up use a different backend and do not suffer from this
issue.

Unfortunately, the last sentence above is not true: see this commit ("Removing the usage of FSEvents-based backend for now as it has a few bugs...").

This means the current code for easyhg 1.2 fails badly on OS/X because it runs very quickly into kqueue's open file descriptor limitations.

History

#1 Updated by Chris Cannam about 12 years ago

  • Status changed from New to Closed
  • Target version set to 1.2

Fixed as of 9b300409c184

Also available in: Atom PDF