|
-
Dec 14th, 2002, 04:33 AM
#1
Thread Starter
Hyperactive Member
.Net IDE problem
Hi all,
I have a problem with my .Net IDE. Whenerver I press enter in code window or cut-paste something, the IDE hangs for few seconds.
I am dealing with almost 4000 LOC in most of my classes and it is taking forever to make even a small change like correcting a property name.
My machine is P4 1.8G with 512 Mb RAM. I dont see any problem with my machine configuration or .Net Installation.
Has anybody experienced same thing? Please help.
Thanks in advance,
abhid
-
Dec 14th, 2002, 09:05 AM
#2
yay gay
hmm dunno if it's because that but u should make classes with lesser lines of code, try each class in a different file with about 500-1000 lines of code
\m/  \m/
-
Dec 14th, 2002, 11:01 AM
#3
PowerPoster
Are you talking about working with the form and the controls directly, or are you talking about working with the code itself?
If you have a lot of controls on a form, it takes a while for the IDE to render it completely. I think this is something they have to optimize in the next release. Anyway, I have no problems when dealing with the code itself though. I am running a 450 P2 with 196 MB of ram.
-
Dec 14th, 2002, 12:21 PM
#4
Sleep mode
Can Apps. memory-resident do this lateness?I'm not sure but I bet it affect the performance.
-
Dec 15th, 2002, 08:25 PM
#5
Thread Starter
Hyperactive Member
Originally posted by hellswraith
Are you talking about working with the form and the controls directly, or are you talking about working with the code itself?
If you have a lot of controls on a form, it takes a while for the IDE to render it completely. I think this is something they have to optimize in the next release. Anyway, I have no problems when dealing with the code itself though. I am running a 450 P2 with 196 MB of ram.
Thanks all for anwering.
I am not working on windows forms. It is a class library and I experience same thing for classes with 1500-2000 LOC. I am wondering if this amount of small code can cause IDE to freeze for 5-6 sec.
Unfortunately I cant reduce LOC since I must write it according to spces I have received.
Does anybody have any information or links regarding .Net IDE and compiler details?
Please let me know
Thanks in advance,
abhid
-
Dec 15th, 2002, 08:58 PM
#6
PowerPoster
I just put 1300 lines of code in one class. Opening, closing the class in the code window wasn't even close to a problem.
Now, that same class when opened in the win forms designer, that took a while.
Do you use the #region and #endregion tags to collapse your code? This may help...
-
Dec 16th, 2002, 12:25 PM
#7
Sleep mode
I've just remember that I face such this problem and ends with format .No way to trace where this little bug exists.
-
Dec 16th, 2002, 01:22 PM
#8
Addicted Member
A couple of suggestions:
1) If you have dynamic help turned on, turn it off.
2) Kill the aspnet_wp process. It has a tendency to grow to large sizes and slow things up. It will restart itself.
HTH
-
Dec 20th, 2002, 01:48 AM
#9
Thread Starter
Hyperactive Member
thanks for all the tips,
I think I found out the reason. As the number of class files (.vb) in the solution increase the IDE tends to get slower and slower.
I tried by reducing the class files and then it was running quiet satisfactorily.
Thanks all,
abhid
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|