Practical limit for file size in an WinForms application. IDE bogging down...

C

Charlie@CBFC

Hi:

I just took over support for a WinForms application. While trying to
navigate a class file, IDE stalls making it very difficult to move without
constantly waiting. It's like file is too large for IDE and it's running
out of memory. File is 98KB (about 2000 lines of code). Is this past
practical limit for the IDE? It's totally unworkable.

Thanks,
Charlie
 
C

ClayB

98KB does not sound extremely large. Something might be bogging down
VS. Do you have a dynamic help window visible? If so, this can slow
things down. Are you accessing source control? ???

=======================
Clay Burch
Syncfusion, Inc.
 
C

Charlie@CBFC

No source control or help window. Definitely feels like something is
bogging it down. Could it be trying to run code like when you open a form?
 
R

RobinS

Are you trying to open the form in design mode, or are you trying to look
at the code-behind? Are you using VS2005 or VS2003? If you are using
VS2005, have you installed SP-1?

Robin S.
-------------------
 
C

Charlie@CBFC

It's a class. Using VS2005 with SP1 installed.


RobinS said:
Are you trying to open the form in design mode, or are you trying to look
at the code-behind? Are you using VS2005 or VS2003? If you are using
VS2005, have you installed SP-1?

Robin S.
 
R

Rad [Visual C# MVP]

Hi:

I just took over support for a WinForms application. While trying to
navigate a class file, IDE stalls making it very difficult to move without
constantly waiting. It's like file is too large for IDE and it's running
out of memory. File is 98KB (about 2000 lines of code). Is this past
practical limit for the IDE? It's totally unworkable.

Thanks,
Charlie

Is it by any chance a VB.NET solution? The background compiler can
contribute to such behaviour
 
R

RobinS

2000 lines of code should not be a problem. How many windows do you have
open? How much memory do you have running in your computer? Have you
checked to make sure the size of your swap file is good (assuming you're
running XP)?

Robin S.
-----------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top