, 2002 4:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Problem with Service and File System Watcher
Unfortunately it doesn't guarantee no overflows completely, although
passing the processing off to a queue certainly helps. In my
application I still have to have watch for overflows even thoug
3 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Problem with Service and File System Watcher
Scott, Thanks!! that was it. Now getting buffer errors.
Justin, sounds like your on to something with this thought about
threading. (somthing i'm not up to speed on yet).
Digging through my code
e: [DOTNET] Problem with Service and File System Watcher
Scott, Thanks!! that was it. Now getting buffer errors.
Justin, sounds like your on to something with this thought about
threading.
(somthing i'm not up to speed on yet).
Digging through my code, I found some areas where it can
Scott, Thanks!! that was it. Now getting buffer errors.
Justin, sounds like your on to something with this thought about threading.
(somthing i'm not up to speed on yet).
Digging through my code, I found some areas where it can be tweaked for
better performance. I was able to make room in the
Besides checking out the internalbuffersize stuff, you may want to think
about how you are processing the files. Since you said that by
commenting out process procedure it sees all the files, it sounds like
the buffer is overflowing because the events are not finishing up fast
enough to keep that
One caveat with an automated dumping of files to a directory as part of an
app (which is probably not related to your problem, but I'm FYIing you), is
that there is a limitation to the number of files that can be in a windows
folder--this was discussed on this list last year, I believe; search the
The FileSystemWatcher buffer is overflowing. You can handle this event
by adding something like this to your code that sets of the
FileSystemWatcher:
// ProcessOverflow is a method setup to handle FSW buffer overflows.
fsw.Error += new ErrorEventHandler(ProcessOverflow);
See MSDN for FileSystem