Bug Report T336957
Visible to All Users

Visual Studio freezes when a file with many types is being edited

created 9 years ago

[DevExpress Support Team: CLONED FROM T317724: Do I already use CodeRush for Roslyn?]
Hi there
I just decided to uninstall CodeRush for Roslyn because working with it has too many unacceptable side-effects.
The most important is the one, that if you have a Region containing a huge amount of constants and you would like to delete then these constants, VS freezes while increasing the amount of Memory used by 10 MB/s.
The only solution is to uninstall CodeRush for Roslyn and then all works as expected.
The attachment contains the file with the Region named "DataSet Constants"
I don't know whether it depends on the whole solution structure but maybe you can reproduce this behavior on your side by trying to delete this Region.
Any Feedback would greatly appreciated.
Best regards,from Switzerland,
Alex

Show previous comments (6)
SD SD
Software Development 9 years ago

    Hi Pavel
    Thanks for the update.
    VS doesn't crash but it still freezes.
    I just try to delete the mentioned constants section. The waitcursor appears and after 2 Minutes of waiting I kill the process by using the TaskManager.
    There's no activitylog entry written for this.
    Are you interested in looking on my Screen by using TeamViewer?
    Best regards,
    Alex

    SD SD
    Software Development 9 years ago

      Just restarted vs and received the attached ActivityLog

      DevExpress Support Team 9 years ago

        Thank you for the clarification and providing additional information, Alex.
        It is a great option to connect to your machine by using TeamViewer, but we need to do some preparation to make our session more productive.

        First, please clarify if you are using CodeRush for Roslyn and CodeRush Classic together? If so, unload CodeRush Classic (by clicking DevExpress -> CodeRush -> Unload ) and try to reproduce the freezing without it.

        Second, are you observing full freezing of Visual Studio or just a slowdown? If it is full freezing, it can be related with threads' deadlock. In this case, we would need the call stacks from you received at the moment of the freezing. To capture them, follow the steps described in the Collecting a call stack to track down the cause of VS crash or freeze issues article.

        On the other hand, if this issue is a slowdown in the VS operation, we need to collect information about its performance. The best way to do it is to use the PerfView tool from Microsoft. Please install it and perform the steps shown in the attached video. Or, if you have any difficulties with it, we will connect to you by using TeamViewer and will perform these steps on your side.

        We greatly appreciate your cooperation.

        Answers approved by DevExpress Support

        created 9 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.