FileSystemWatcher internal buffer problem

  • Thread starter Thread starter Cxw0106
  • Start date Start date
C

Cxw0106

Hi all,

When I set the FileSystemWatcher internal buffer size, say to 64 k,
I opened the "nonpaged pool" to view it, it only shows 8-10 k for
my application!!!

Why is that? Has anyone met the same problem?

cxw0106
 
The default value for the buffer is only 8192 bytes- about what you're
seeing. Since the buffer is rather expensive, I would assume that the
buffer size is kept to the default to start with and only increased based
upon need.

Is the program otherwise misbehaving? Can you provide a small, complete
code sample?

For what it's worth...
 
Back
Top