IDE hanging...
-
Our entire development team here has been suffering from a strange VC IDE problem. I was wondering if any of you have come across this. Our project is pretty big. 10 dsp files around 4000 files and 3.5 million lines of code. Often during development, the IDE stops responding, the CPU gets pegged at 100 (or near there) and no redraws happen in the IDE. On my 650MHz machine (with 256MB of RAM) this state lasts 10-15 minutes and then all resumes. It got better when I added tons of header files to the MSVCINCL.DAT files is used to exclude files from the file dependencies. I talked to MS tech support and they said that it seems to be a dependency update pause (!). They said the file limit is around 9600 files so that isn't it. One of my co-workers got a GHz machine and the pause is barely perceptable. I was wondering if there are any work-arounds any of you know about? TIA Woolie
-
Our entire development team here has been suffering from a strange VC IDE problem. I was wondering if any of you have come across this. Our project is pretty big. 10 dsp files around 4000 files and 3.5 million lines of code. Often during development, the IDE stops responding, the CPU gets pegged at 100 (or near there) and no redraws happen in the IDE. On my 650MHz machine (with 256MB of RAM) this state lasts 10-15 minutes and then all resumes. It got better when I added tons of header files to the MSVCINCL.DAT files is used to exclude files from the file dependencies. I talked to MS tech support and they said that it seems to be a dependency update pause (!). They said the file limit is around 9600 files so that isn't it. One of my co-workers got a GHz machine and the pause is barely perceptable. I was wondering if there are any work-arounds any of you know about? TIA Woolie
Often the workspace .ncb file will become corrupt, and this can cause a lag. Also, best of luck to you if you are using VSS... :) You can safely delete the workspace .ncb file. It will get regenerated. If you find this fixes your problem, you may wish to write or find a utility to delete the file automatically. Several exist, though I will shamelessly plug one I wrote called NukeNCB. Best of luck, Nick Hodapp
-
Our entire development team here has been suffering from a strange VC IDE problem. I was wondering if any of you have come across this. Our project is pretty big. 10 dsp files around 4000 files and 3.5 million lines of code. Often during development, the IDE stops responding, the CPU gets pegged at 100 (or near there) and no redraws happen in the IDE. On my 650MHz machine (with 256MB of RAM) this state lasts 10-15 minutes and then all resumes. It got better when I added tons of header files to the MSVCINCL.DAT files is used to exclude files from the file dependencies. I talked to MS tech support and they said that it seems to be a dependency update pause (!). They said the file limit is around 9600 files so that isn't it. One of my co-workers got a GHz machine and the pause is barely perceptable. I was wondering if there are any work-arounds any of you know about? TIA Woolie
Like Nick, I've found that deleting *.ncb files seems to cure almost every problem I have with the IDE. I don't use any VCS system yet but I make zip backups of my source directories at least once a day. I've got the batch file that does the zipping setup to delete any .ncb files, among others, before it makes the archive. Be aware that the *.ncb file is locked while the project is loaded in the IDE. I seem to recall that the IDE occasionally fails to release the file lock when you close a project from the File menu. I now just exit the IDE to make sure that everything is closed properly.