FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
Quote from WindowsWatchService.java line 270:
// size of per-directory buffer for events (FIXME - make this configurable)
private static final int CHANGES_BUFFER_SIZE = 16 * 1024;
Someone wanted this to be configurable and I want to encourage them to make it so. This setting translates to a queue size of 512 events on our system and that does not suffice. We have a network delay of .3 Seconds, so the queue overflows constantly for us. We do not monitor too much and have tested this extensively. The queue size is just too small. There is no reason not to go ahead an make this configurable.
REPRODUCIBILITY :
This bug can be reproduced always.
A DESCRIPTION OF THE PROBLEM :
Quote from WindowsWatchService.java line 270:
// size of per-directory buffer for events (FIXME - make this configurable)
private static final int CHANGES_BUFFER_SIZE = 16 * 1024;
Someone wanted this to be configurable and I want to encourage them to make it so. This setting translates to a queue size of 512 events on our system and that does not suffice. We have a network delay of .3 Seconds, so the queue overflows constantly for us. We do not monitor too much and have tested this extensively. The queue size is just too small. There is no reason not to go ahead an make this configurable.
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8330077 Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT
-
- Resolved
-