The Welkin Suite Forum

Welkin High CPU usage



Welkin High CPU usage

  • Please log in to reply

#1
windows version welkinsuite

software.purchases+1

    Posted 12 Sep 2017

    Hi Team,

    I'm experiencing high CPU usage /30% and above/ which makes TWS slow and almost impossible to work with. When restarted, the CPU usage normalizes for 5-10 mins and the problem shows up again. 
    I'm using a windows machine, Intel Core i5-4460 @ 3.2, 8 GB RAM. Please let me know if you need more details.



    22 replies to this topic

    #2

    mfrizzell_ypo

      Posted 12 Sep 2017

      Did this just start recently?  On mine, I noticed yesterday Welkin locks up and has to restart mulitple times a day.  Usually when I am doing something (never the same thing) but also sometimes when I am not using it.  Each time the CPU is stuck at about 30%.  Going to try a fresh install and report back.



      #3

      software.purchases+1

        Posted 13 Sep 2017

        No, it started after I installed it - 3-4 month ago with the trial and it continues with the Pro Subscription. I tried a re-install, but it didn't help. I'm anxious to hear from the team, because like I mentioned in my first post - it's almost impossible to work that way.



        #4

        kate.dulko

          Posted 13 Sep 2017

          Hi guys,


          Thank you for contacting us with this issue.


          May I please ask you to describe us what you are working on in the IDE: is it coding, unit tests, debugging, or admin tasks, etc.? 

          Also, we would greatly appreciate if you can tell us which TWS panels are opened in the IDE's UI when CPU is increased.

          In addition, I kindly ask you to send us a bug report directly from the IDE when the issue would be reproduced again. This option is present in the menu Help -> Report a Bug, please enable the 'attach Log File' checkbox - this way we will receive your TWS logs - they can contain an additional information.


          Thank you,

          Kate


          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            


          #5

          software.purchases+1

            Posted 13 Sep 2017

            Hi Kate,

            Please find details below:

            1. I'm working on projects - coding. Largest project contains apprx. 50 classes, 20 pages, 10 objects
            2. Panels I'm using - Solution explorer, Error listm Output
            3. I'll send a log as soon as the issue is present again.

            Thanks!



            #6

            kate.dulko

              Posted 14 Sep 2017

              Hi,


              Thank you for your response.

              The log file will be really helpful for us.

              Also, can you please tell me how many files are opened in the code editor when CPU is increased and what are the types of these files?


              Thank you.

              Kate



              Kate Dulko
              Customer Relations

              The Welkin Suite

              twitter: @KateDulko
              skype id: d_katerina
              e-mail: kate.dulko@welkinsuite.com

               

                


              #7

              software.purchases+1

                Posted 26 Sep 2017

                Hi Kate,


                I've sent the log file. Hopefully, it'll help your team to resolve the issue. Additionaly, I have opened 20 files in TWS. All classes and pages


                Thanks.



                #8

                kate.dulko

                  Posted 29 Sep 2017

                  Greetings,


                  Thank you for your response and for the bug report.

                  Since the information from the log file is not enough to find the exact reason for the issue, I kindly ask you to make a Dump file when it is reproduced and send it to us.

                  If this is acceptable for you, please follow the next steps for this:

                       1. please open your Task Manager;

                       2. right click on The Welkin Suite and select the 'Create dump file' item;

                       3. as a result, you will see the dialog with a progress and a path where the file is saved.


                  Our developers will analyze this file and we will solve the issue or will provide you with a possible workaround till the issue will be fixed.


                  Thank you for your collaboration.

                  Regards,

                  Kate


                  Kate Dulko
                  Customer Relations

                  The Welkin Suite

                  twitter: @KateDulko
                  skype id: d_katerina
                  e-mail: kate.dulko@welkinsuite.com

                   

                    


                  #9

                  software.purchases+1

                    Posted 02 Oct 2017

                    Hi Kate,


                    The generated dump file is over 800 MB, any suggestions how to send it to you and the team?


                    Thanks!



                    #10

                    kate.dulko

                      Posted 02 Oct 2017

                      Hi,


                      Thank you for your response.

                      You can send the dump file via email using Google Drive if this is convenient for you.


                      Regards,

                      Kate


                      Kate Dulko
                      Customer Relations

                      The Welkin Suite

                      twitter: @KateDulko
                      skype id: d_katerina
                      e-mail: kate.dulko@welkinsuite.com

                       

                        


                      #11

                      software.purchases+1

                        Posted 03 Oct 2017

                        Hi Kate,


                        The dump file is now uploaded to a drive and is shared with the email from your signature: kate.dulko@welkinsuite.com


                        Thanks.



                        #12

                        kate.dulko

                          Posted 03 Oct 2017

                          Hi Yordan,


                          Thank you for sending the file - we got it.

                          Our developers have started to analyze it. I'll back to you just when we will have any results on it.


                          Have a nice day!

                          Best Regards,

                          Kate


                          Kate Dulko
                          Customer Relations

                          The Welkin Suite

                          twitter: @KateDulko
                          skype id: d_katerina
                          e-mail: kate.dulko@welkinsuite.com

                           

                            


                          #13

                          software.purchases+1

                            Posted 10 Oct 2017

                            Hi Kate,


                            Just wanted to check for any progress.


                            Thanks!



                            #14

                            kate.dulko

                              Posted 10 Oct 2017

                              Hi Yordan,


                              Thank you for your question.

                              We are going to release the updated version of the IDE the nearest days. This version will contain a fix for a possible reason for the issue that you are faced with.

                              Actually, the possible reason is loading information for the test result icons in the code editor for Apex classes - you can see these test results in the left column near your code.


                              I kindly ask you to update the IDE when the version Bloom R10 will be available and please let me know if the issue would be reproduced.


                              Thank you,

                              Kate


                              Kate Dulko
                              Customer Relations

                              The Welkin Suite

                              twitter: @KateDulko
                              skype id: d_katerina
                              e-mail: kate.dulko@welkinsuite.com

                               

                                


                              #15

                              software.purchases+1

                                Posted 10 Oct 2017

                                Hi Kate,


                                Thanks fo the prompt response. Looking forward for the new release.


                                Thanks!



                                #16

                                software.purchases+1

                                  Posted 13 Oct 2017

                                  Hi Kate,


                                  I updated to Bloom R10, but the issue persists. One thing I noticed is that the issue appears when I open a large VF page, say with 500+ lines. And goes back to normal when I close it. Can't recall if this was the case with the previous version.


                                  Thanks!



                                  #17

                                  kate.dulko

                                    Posted 13 Oct 2017

                                    Hi Yordan,


                                    Thank you for your update.


                                    May I please clarify some additional details in this case so that we could continue our investigation:

                                         - Can you please tell me if there is available code completion functionality on the VF page that could cause the issue?

                                         - Is the issue reproduced when you are editing the page or it is just opened when CPU is increased?


                                    Also, I kindly ask you to send us the bug report directly from the IDE again when the issue would be reproduced - this will give us more information if our recent changes affected you.


                                    Thank you,

                                    Kate


                                    Kate Dulko
                                    Customer Relations

                                    The Welkin Suite

                                    twitter: @KateDulko
                                    skype id: d_katerina
                                    e-mail: kate.dulko@welkinsuite.com

                                     

                                      


                                    #18

                                    software.purchases+1

                                      Posted 17 Oct 2017

                                      Hi Kate,


                                      I've sent a log file. Unfortunatelly, the issue has gotten worse with the update to R10. Please find answers to your questions:

                                      kate.dulko, on Oct 13, 2017 - 09:41 PM, said:

                                      May I please clarify some additional details in this case so that we could continue our investigation:

                                           - Can you please tell me if there is available code completion functionality on the VF page that could cause the issue?

                                      It's not available, and when I try to work on that VF page, the IDE craches and closes. (I'm pretty sure this is after the update)

                                           - Is the issue reproduced when you are editing the page or it is just opened when CPU is increased?

                                      The issue is reproduced on every VF page when it's just opened. After page close, the IDE goes back to normal. If you try to edit - it crashes.





                                      #19

                                      kate.dulko

                                        Posted 18 Oct 2017

                                        Hi Yordan,


                                        Thank you for your answers and for the bug report.


                                        Looks like the reason for the issue is related to the code editor that is used for Visualforce pages. We continue looking for a reason.

                                        Right now, as a workaround, please follow the next steps to get an ability to work on Visualforce pages:

                                             1) please right click on the necessary page file in the Solution Explorer;

                                             2) select the 'Open With... item';

                                             3) choose the 'XML (Text) Editor' and 'Ok'.


                                        This can be a temporary solution till we are working on the issue.


                                        Also, I kindly ask you to help us in our investigation the next way: please close a solution in the IDE (if any), open File (in the main menu) -> Open -> File, and select any your Visualforce page file from a project. Please let me know if the issue would be reproduced in this case.


                                        One more possible solution could be to re-install Microsoft Visual Studio 2013 Isolated Shell.

                                        If this is acceptable for you, you can do the next:


                                             1) please uninstall Microsoft Visual Studio Shell (Isolated);

                                             2) after this please uninstall The welkin Suite IDE;

                                             3) download Microsoft Visual Studio 2013 Shell (Isolated) using the next link and install it separately from the IDE;

                                             4) re-download TWS from the site and install it again;

                                             5) repeat the workaround that helped you to log in;

                                             6) and launch the IDE.


                                        After this please check again if the issue would be reproduced.


                                        Thank you for your collaboration one more time!

                                        Looking forward to your response.


                                        Thank you,
                                        Kate


                                        Kate Dulko
                                        Customer Relations

                                        The Welkin Suite

                                        twitter: @KateDulko
                                        skype id: d_katerina
                                        e-mail: kate.dulko@welkinsuite.com

                                         

                                          


                                        #20

                                        software.purchases+1

                                          Posted 19 Oct 2017

                                          Hi Kate,


                                          Thanks for the workaround. I can confirm it's working now. I'll set the XML editor as a default until the issue is resolved. Regarding the visual studio shell re-install - I already tried that several times and it didn't work.

                                          kate.dulko, on 18 Oct 2017 - 03:16 PM, said:

                                          Also, I kindly ask you to help us in our investigation the next way: please close a solution in the IDE (if any), open File (in the main menu) -> Open -> File, and select any your Visualforce page file from a project. Please let me know if the issue would be reproduced in this case.


                                          The issue persist with a single VF page opened in TWS. Please find screenshots attached. The error.jpg pops up randomly when I try to make a change. The other image is with CPU usage when a single VF page is opened in TWS (The message next to TWS means "not responding" FYI)




                                          Attached Files


                                          #21

                                          kate.dulko

                                            Posted 19 Oct 2017

                                            Hi Yordan,


                                            Thank you for your response!

                                            I'm glad that the workaround works for you and you could proceed your work on Visualforce pages in TWS project.


                                            We would appreciate if you could check one more thing that can help us in the investigation related to this issue:

                                            I kindly ask you to open any page in your browser, save it as HTML document (using the context menu), close all your solutions in TWS, and open this document in the IDE using the menu File-> Open -> File.


                                            Please let us know what will be the result and behavior of the editor - this one more piece of information will help us in looking the reason for the broken work of HTML editor in the IDE.


                                            Thank you,

                                            Kate


                                            Kate Dulko
                                            Customer Relations

                                            The Welkin Suite

                                            twitter: @KateDulko
                                            skype id: d_katerina
                                            e-mail: kate.dulko@welkinsuite.com

                                             

                                              


                                            #22

                                            software.purchases+1

                                              Posted 21 Oct 2017

                                              Hi Kate,


                                              Tried the case you described with TWS Home Page. The result is - high CPU usage and slow to unresponsive IDE. Hope this would help you and the team to resolve the issue.



                                              #23

                                              kate.dulko

                                                Posted 23 Oct 2017

                                                Hi Yordan,


                                                Thank you for this information.

                                                We continue to investigate this issue.

                                                I will keep you updated on our results.


                                                Regards,

                                                Kate


                                                Kate Dulko
                                                Customer Relations

                                                The Welkin Suite

                                                twitter: @KateDulko
                                                skype id: d_katerina
                                                e-mail: kate.dulko@welkinsuite.com

                                                 

                                                  





                                                Boost Your Productivity. Get Started Today

                                                Try Free Trial