Massive VB performance problems

Until today i could live with the performance problems which R# causes in VB projects. But now i had the situation that Visual Studio crashes while editing a large VB file. The file i edited is a module with around 5.000 lines of code which contains only definitions for global constants (if you ask why, the code is from an around 10 years old solution original writtten in VB 6). I copied around 20 of them because i'm lazy (just wanted to declare some new ones and take over the type definitions by renaming just the constant names). This caused a number of syntax errors (duplicate identifier) which is correct. From the time the errors are shown, the editor becomes slower and slower. After renaming three constants Visual Studio hangs for around 2 minutes and then crashes with the "Visual Studio encountered a problem" dialog.

I tried to take a performance snapshot with dotTrace but unfortunately my trial license has expired.

Regards
Klaus

4 comments

maybe it's a hint that the constant definitions uses types which are located in a Managed-C++ dll.

0

Hello Klaus,

Could you please send an e-mail to andrew dot serebryansky at jetbrains dot
com and I'll send you an extended evaluation license for dotTrace, so that
you could profile this behavior. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Until today i could live with the performance problems which R# causes
in VB projects. But now i had the situation that Visual Studio crashes
while editing a large VB file. The file i edited is a module with
around 5.000 lines of code which contains only definitions for global
constants (if you ask why, the code is from an around 10 years old
solution original writtten in VB 6). I copied around 20 of them
because i'm lazy (just wanted to declare some new ones and take over
the type definitions by renaming just the constant names). This caused
a number of syntax errors (duplicate identifier) which is correct.
From the time the errors are shown, the editor becomes slower and
slower. After renaming three constants Visual Studio hangs for around
2 minutes and then crashes with the "Visual Studio encountered a
problem" dialog.

I tried to take a performance snapshot with dotTrace but unfortunately
my trial license has expired.

Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5312036#5312036



0

Hello Andrey,

sorry for the delay, but the firewall policy of my customer don't allow ftp uploads. I just uploaded a snapshot (named Luedi_VB_EditPerformance.7z) and hope that it arrived, because i can't see it. The zip-file contains the snapshot, the settings saved by dotTrace and a small text file where i described what i have done. I hope you will find something interesting which will help to diagnose the problems. If not let me know how i can further help you to track down the problem.

Regards
Klaus

0

Hello Klaus,

Thank you! I've looked at the snapshot and it looks like this is one of the
known problems in ReSharper. We didn't manage to fix it in time for ReSharper
6 because of its complexity, but we will do our best to fix it in one of
the future releases. You can track the progress here: http://youtrack.jetbrains.net/issue/RSRP-274475.


Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello Andrey,

sorry for the delay, but the firewall policy of my customer don't
allow ftp uploads. I just uploaded a snapshot (named
Luedi_VB_EditPerformance.7z) and hope that it arrived, because i can't
see it. The zip-file contains the snapshot, the settings saved by
dotTrace and a small text file where i described what i have done. I
hope you will find something interesting which will help to diagnose
the problems. If not let me know how i can further help you to track
down the problem.

Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5312390#5312390



0

Please sign in to leave a comment.