Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Slow OFIW
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

eve
Tomato Guru

Belgium
101 Posts

Posted - Nov 14 2006 :  05:10:28 AM  Show Profile  Reply with Quote
I noticed that opening the OFIW dialog is very slow in my project. This seemes to be caused by the number of open files.
If I have 150 open files, it takes 5 seconds to open the OFIW dialog (100% CPU usage). With all files closed, this takes less than a second.

Some more info:
Files in workspace: ~7500
VA_X.dll file version 10.3.1540.0 built 2006.10.27
VAOpsWin.dll version 1.3.3.7
VATE.dll version 1.0.5.9
DevEnv.exe version 8.0.50727.42
msenv.dll version 8.0.50727.42
Font: Courier New 18(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor


regards,
eli

feline
Whole Tomato Software

United Kingdom
19025 Posts

Posted - Nov 14 2006 :  08:32:09 AM  Show Profile  Reply with Quote
Most odd. Are these open files all code files? Do you have form designers, or anything else "odd" open?

Using VS2005 and VA 1540 I have tried with a solution of about 3,500 files, and with 1 cpp file open OFIW appears basically instantly.

I have opened about 160 code files (a mix of .h and .cpp files) and now OFIW is taking nearly a second to open, which is still very fast, and there is no sign of any CPU spike when I do this.

Do you have any other plugin's installed?
When you open the OFIW dialog is there an existing search filter to apply, or are you seeing all of the files?

It is possible I need to construct a larger solution, but I would have expected this solution was large enough to show this problem.

zen is the art of being at one with the two'ness
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Nov 14 2006 :  09:50:28 AM  Show Profile  Reply with Quote
I can no longer reproduce this: I re-created the sln file, restarted the IDE and the problem was fixed. Maybe it has something to do with my habit of keeping the IDE always open (several days).
Maybe I should learn to restart my environment in the morning.

Anyway, sorry for the trouble and thanks,
eli
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19025 Posts

Posted - Nov 14 2006 :  10:37:44 AM  Show Profile  Reply with Quote
Do you hibernate your workstation, or leave it powered on?

I have had problems with hibernating a machine while the IDE and Microsoft Outlook were both running. After about a week the machine became unusably slow and rebooting fixed it. I never was able to pin down the cause of the problem, but some programs, Outlook included did not like being left running while the machine was hibernated.

Having said that I can hibernate and restore my home machine without any sign of problems, but I am not running Outlook here, and there are no network issues to complicate the situation either.

zen is the art of being at one with the two'ness
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Nov 14 2006 :  10:48:09 AM  Show Profile  Reply with Quote
I never hibernate, but oulook runs all the time.
Also notice that I did not reboot my PC, just recreated the solution and restarted the IDE.
I also deleted the ncb file, but since intellisense is disabled, it was almost empty.

but the problem is solved, so I'm happy :-)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000