IntelliSense and class view performance problems (slow continuous unbuffered writes)

If I bring up File Monitor (filemon.exe) from www.sysinternals.com (a fantastic tool, by the way), it appears that the writing to the NCB file is done in very small chunks.  If you watch it, it continuously writes 2 and 4 byte blocks (yes BYTES, not K).  Can you not use some sort of buffered write routines instead of direct WriteFiles of very small amounts of bytes

Also, is it normal for Updating Intellisense on the status bar to run *permanently*   i.e. the status progress bar is filled up, and just when you think it's going to end, the progress bar knocks down again two notches, and continues.  I've run it for a few days now, and it does this continuously.  I've never had the situtation where Intellisense is permanently updated. 

Thirdly, is class view information cached anywhere   I've never had the situation where class view can be used, as it continuously says xxxx source files to parse.   It gets down to about 900 files, then I see that it goes back to 1300 etc. 

Ted.



Answer this question

IntelliSense and class view performance problems (slow continuous unbuffered writes)

  • andystac

    Update: I deleted my NCB file (which was 160MB) and then let it regenerate again, and now the class view and Intellisense is working fine.   It's now fully generated at 37 MB, and the Intellisense has even stopped generating on the progress bar.

    I suspect that the existing NCB was causing the Intellisense/class view information to be regenerated in an endless loop. 

    So apparently deleting the NCB is still a good thing to do in some cases (we've been needing to do that since the VC 6.0 days)


  • IntelliSense and class view performance problems (slow continuous unbuffered writes)