[232] Large Files TOOO Slow

I've got 2 very large files, on the order of 5000+ lines and 60 classes.
Trying to edit these files causes by simply typing one keystroke results in
a 100% CPU lockup for roughly 10 seconds. When it returns more typing
results in the same thing. I tried clearing caches, restarting
VisualStudio2005 but to no avail.

Anyone else seeing this? Is it a known issue?


6 comments
Comment actions Permalink

I've seen this too. build 224 does not have this problem, but it has others...

0
Comment actions Permalink

After using R# for a while, it develops a very strange habit: every single
keystroke causes VS to generate an error in the Error List. If I have the
Error List window minimized, it will pop up with every keystroke to display
a syntatic error. In other words, R# causes VS to complain that the
incomplete line of code has a syntatic error (of course it does!). Now,
development slows to a crawl.

No way to fix this problem except to restart VS.

"Troy" <no_spam@x_trumba.calm> wrote in message
news:e111u6$ppu$1@is.intellij.net...

I've got 2 very large files, on the order of 5000+ lines and 60 classes.
Trying to edit these files causes by simply typing one keystroke results
in a 100% CPU lockup for roughly 10 seconds. When it returns more typing
results in the same thing. I tried clearing caches, restarting
VisualStudio2005 but to no avail.

>

Anyone else seeing this? Is it a known issue?



0
Comment actions Permalink

Does anyone else experience such behavior?

And does your Error List to popup automatically on each error added there?
I could not reproduce such behavior. I minimized the Error List window and
when I type errors are added there (not on every typing though). But it never
pops up.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

After using R# for a while, it develops a very strange habit: every
single keystroke causes VS to generate an error in the Error List. If
I have the Error List window minimized, it will pop up with every
keystroke to display a syntatic error. In other words, R# causes VS
to complain that the incomplete line of code has a syntatic error (of
course it does!). Now, development slows to a crawl.

No way to fix this problem except to restart VS.

"Troy" <no_spam@x_trumba.calm> wrote in message
news:e111u6$ppu$1@is.intellij.net...

>> I've got 2 very large files, on the order of 5000+ lines and 60
>> classes. Trying to edit these files causes by simply typing one
>> keystroke results in a 100% CPU lockup for roughly 10 seconds. When
>> it returns more typing results in the same thing. I tried clearing
>> caches, restarting VisualStudio2005 but to no avail.
>>
>> Anyone else seeing this? Is it a known issue?
>>


0
Comment actions Permalink

Is it related with background code highlighting? Try to uncheck ReSharper

Options > Highlighting > Enable Highlighting and see if it makes any difference.


Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I've got 2 very large files, on the order of 5000+ lines and 60
classes. Trying to edit these files causes by simply typing one
keystroke results in a 100% CPU lockup for roughly 10 seconds. When
it returns more typing results in the same thing. I tried clearing
caches, restarting VisualStudio2005 but to no avail.

Anyone else seeing this? Is it a known issue?



0
Comment actions Permalink

No it does not, I still help, I still get the lockups. However turning it
off and then trying an edit in the same very large file resulted in a crash.
I couldn't submit the exception - the server was busy, so here it is:

JetBrains.ReSharper.Util.InternalErrorException: An exception has
occurred ---> JetBrains.ReSharper.Util.InternalErrorException: An internal
error has occurred

at JetBrains.ReSharper.Util.InternalErrorException..ctor(String, Exception)
in c:\TEMP\tmp17BA.tmp\src\Util\src\InternalErrorException.cs:line 28 column
7
at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[]) in
c:\TEMP\tmp17BA.tmp\src\Util\src\Logger.cs:line 104 column 11
at JetBrains.ReSharper.Util.Logger.Assert(Boolean) in
c:\TEMP\tmp17BA.tmp\src\Util\src\Logger.cs:line 95 column 5
at JetBrains.ReSharper.Shell.VSIntegration.VSCommandProcessor.EndCommand()
in c:\TEMP\tmp17BA.tmp\src\VSAddin\src\Shell\VSCommandProcessor.cs:line 159
column 7
at JetBrains.VSAddin.TextControl.MyCommandFilter.Exec(Guid&, UInt32,
UInt32, IntPtr, IntPtr) in
c:\TEMP\tmp17BA.tmp\src\VSAddin\src\TextControl\VSTextControl.cs:line 559
column 13
at EnvDTE._DTE.get_UndoContext()
at
JetBrains.ReSharper.Shell.VSIntegration.VSCommandProcessor.get_UndoContext()
in c:\TEMP\tmp17BA.tmp\src\VSAddin\src\Shell\VSCommandProcessor.cs:line 87
column 13
at JetBrains.ReSharper.Shell.VSIntegration.VSCommandProcessor.EndCommand()
in c:\TEMP\tmp17BA.tmp\src\VSAddin\src\Shell\VSCommandProcessor.cs:line 174
column 11
at
JetBrains.ReSharper.CodeInsight.TypingAssist.CSharpTypingAssistBase.HandleEnterPressed(ITextControl,
DelegateExecute) in
c:\TEMP\tmp17BA.tmp\src\CodeInsight\src\TypingAssist\CSharpTypingAssistBase.cs:line
745 column 9
at
JetBrains.ReSharper.CodeInsight.TypingAssist.CSharpTypingAssistBase.ActionHandler(ITextControl,
Keys, DelegateExecute) in
c:\TEMP\tmp17BA.tmp\src\CodeInsight\src\TypingAssist\CSharpTypingAssistBase.cs:line
107 column 11
at
JetBrains.ReSharper.CodeInsight.TypingAssist.TypingAssistActionHandler.Execute(IDataContext,
DelegateExecute) in
c:\TEMP\tmp17BA.tmp\src\CodeInsight\src\TypingAssist\CSharpTypingAssistBase.cs:line
1143 column 7
at
JetBrains.ReSharper.ActionManagement.ExecutableAction.Execute(IDataContext)
in
c:\TEMP\tmp17BA.tmp\src\ActionManagement\src\Action\ExecutableAction.cs:line
25 column 13
at
JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction,
IDataContext) in
c:\TEMP\tmp17BA.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line
502 column 9
at
JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction)
in
c:\TEMP\tmp17BA.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line
489 column 5
at
JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(String)
in
c:\TEMP\tmp17BA.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line
484 column 5
at
JetBrains.VSAddin.TextControl.MyCommandFilter.TryDelegateToReSharper(UInt32,
IntPtr, UInt32, IntPtr, Guid&) in
c:\TEMP\tmp17BA.tmp\src\VSAddin\src\TextControl\VSTextControl.cs:line 600
column 17
at JetBrains.VSAddin.TextControl.MyCommandFilter.Exec(Guid&, UInt32,
UInt32, IntPtr, IntPtr) in
c:\TEMP\tmp17BA.tmp\src\VSAddin\src\TextControl\VSTextControl.cs:line 546
column 13

at JetBrains.ReSharper.Util.Logger.Assert(Boolean condition, String
messageFormat, Object[] args) in
c:\TEMP\tmp17BA.tmp\src\Util\src\Logger.cs:line 104
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String,
Boolean) in c:\TEMP\tmp17BA.tmp\src\Util\src\Logger.cs:line 297 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in
c:\TEMP\tmp17BA.tmp\src\Util\src\Logger.cs:line 309 column 5
at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[]) in
c:\TEMP\tmp17BA.tmp\src\Util\src\Logger.cs:line 108 column 11
at JetBrains.ReSharper.Util.Logger.Assert(Boolean) in
c:\TEMP\tmp17BA.tmp\src\Util\src\Logger.cs:line 95 column 5
at JetBrains.ReSharper.Shell.VSIntegration.VSCommandProcessor.EndCommand()
in c:\TEMP\tmp17BA.tmp\src\VSAddin\src\Shell\VSCommandProcessor.cs:line 159
column 7
at JetBrains.VSAddin.TextControl.MyCommandFilter.Exec(Guid&, UInt32,
UInt32, IntPtr, IntPtr) in
c:\TEMP\tmp17BA.tmp\src\VSAddin\src\TextControl\VSTextControl.cs:line 559
column 13
at EnvDTE._DTE.get_UndoContext()
at
JetBrains.ReSharper.Shell.VSIntegration.VSCommandProcessor.get_UndoContext()
in c:\TEMP\tmp17BA.tmp\src\VSAddin\src\Shell\VSCommandProcessor.cs:line 87
column 13
at JetBrains.ReSharper.Shell.VSIntegration.VSCommandProcessor.EndCommand()
in c:\TEMP\tmp17BA.tmp\src\VSAddin\src\Shell\VSCommandProcessor.cs:line 174
column 11
at
JetBrains.ReSharper.CodeInsight.TypingAssist.CSharpTypingAssistBase.HandleEnterPressed(ITextControl,
DelegateExecute) in
c:\TEMP\tmp17BA.tmp\src\CodeInsight\src\TypingAssist\CSharpTypingAssistBase.cs:line
745 column 9
at
JetBrains.ReSharper.CodeInsight.TypingAssist.CSharpTypingAssistBase.ActionHandler(ITextControl,
Keys, DelegateExecute) in
c:\TEMP\tmp17BA.tmp\src\CodeInsight\src\TypingAssist\CSharpTypingAssistBase.cs:line
107 column 11
at
JetBrains.ReSharper.CodeInsight.TypingAssist.TypingAssistActionHandler.Execute(IDataContext,
DelegateExecute) in
c:\TEMP\tmp17BA.tmp\src\CodeInsight\src\TypingAssist\CSharpTypingAssistBase.cs:line
1143 column 7
at
JetBrains.ReSharper.ActionManagement.ExecutableAction.Execute(IDataContext)
in
c:\TEMP\tmp17BA.tmp\src\ActionManagement\src\Action\ExecutableAction.cs:line
25 column 13
at
JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction,
IDataContext) in
c:\TEMP\tmp17BA.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line
502 column 9
at
JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction)
in
c:\TEMP\tmp17BA.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line
489 column 5
at
JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(String)
in
c:\TEMP\tmp17BA.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line
484 column 5
at
JetBrains.VSAddin.TextControl.MyCommandFilter.TryDelegateToReSharper(UInt32,
IntPtr, UInt32, IntPtr, Guid&) in
c:\TEMP\tmp17BA.tmp\src\VSAddin\src\TextControl\VSTextControl.cs:line 600
column 17
at JetBrains.VSAddin.TextControl.MyCommandFilter.Exec(Guid&, UInt32,
UInt32, IntPtr, IntPtr) in
c:\TEMP\tmp17BA.tmp\src\VSAddin\src\TextControl\VSTextControl.cs:line 546
column 13



"Valentin Kipiatkov (JetBrains)" <valentin@jetbrains.com> wrote in message
news:3fdb29a6b4a308c8278e312c6c81@news.intellij.net...

Is it related with background code highlighting? Try to uncheck ReSharper

>> Options > Highlighting > Enable Highlighting and see if it makes any
>> difference.
>

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>> I've got 2 very large files, on the order of 5000+ lines and 60
>> classes. Trying to edit these files causes by simply typing one
>> keystroke results in a 100% CPU lockup for roughly 10 seconds. When
>> it returns more typing results in the same thing. I tried clearing
>> caches, restarting VisualStudio2005 but to no avail.
>>
>> Anyone else seeing this? Is it a known issue?
>>
>



0
Comment actions Permalink

I too have experienced either slowdown or total lock up with v2 since
the first build I installed. I have built a clean machine and the
problem continues to haunt me.

I now switch Resharper off when I start VS2005 and only turn it on when
absolutely necessary to enable the warning/errors in the right hand
gutter.

As the only way out of the lock up situation is to kill the devenv
process it is impossible to submit an error report.


In article <e111u6$ppu$1@is.intellij.net>, no_spam@x_trumba.calm says...

I've got 2 very large files, on the order of 5000+ lines and 60 classes.
Trying to edit these files causes by simply typing one keystroke results in
a 100% CPU lockup for roughly 10 seconds. When it returns more typing
results in the same thing. I tried clearing caches, restarting
VisualStudio2005 but to no avail.

Anyone else seeing this? Is it a known issue?


0

Please sign in to leave a comment.