Groups | Blog | Home
all groups > dotnet performance > november 2003 >

dotnet performance : CPU issues at development time


Joe Abou Jaoude
11/22/2003 1:27:55 AM
I m facing CPU issues at development time. For example sometimes I write
a line of code and press enter , and the IDE freezes for 4-5 second and
the CPU is at 100%.
We are using Visual studio source safe.The application is large
enough.(6 projects, and around 1400 files in the solution). we have a
512 RAM computer.
I think the problem is because the IDE is searching for all the files to
check or correct errors on the fly.Perhaps there are other reasons, i
don't know.
Can someone tell me what is causing this poor performance, and how to
avoid it. I was thinking if I can change some options in the tools menu.
Is it possible for example to tell the IDE not to check other projects
or all the files in the solution when I m writing code ?
Any suggestion ?
thanx.




*** Sent via Developersdex http://www.developersdex.com ***
Klaus Löffelmann
11/22/2003 4:49:21 PM
Joe,

sometimes I notice similar things, but when I then close the dynamic help,
everything is OK again. Maybe that applies for your problem, too?!

Klaus

"Joe Abou Jaoude" <joe30@hotmail.com> schrieb im Newsbeitrag
news:u7bJqrNsDHA.2060@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

Codemonkey
12/6/2003 4:28:31 PM
I've been using VS2003 and have come accross a few things that could cause
this (even in small solutions with 5 or 6 VB projects).

1) Bad references. If your projects reference each other, make sure you use
project references instead of referencing the actual DLL. Expand the
references portion of the solution explorer and make sure there is no
missing references.

2) Handling Events in a derived windows form from a control that resides on
a base form. This messes up designers pretty badly and can slow down the
intellisense engine a lot. Instead declare an event on the base form and
raise it from the base form so the derived form can catch it.

Hope this helps,

Trev.





[quoted text, click to view]

AddThis Social Bookmark Button