Chrome memory and cpu usage increasing over timeLog CPU usage to file for specific process over timeGoogle...

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

How to display Aura JS Errors Lightning Out

What makes accurate emulation of old systems a difficult task?

How to not starve gigantic beasts

Does a large simulator bay have standard public address announcements?

What does ゆーか mean?

Elements other than carbon that can form many different compounds by bonding to themselves?

Get consecutive integer number ranges from list of int

How can I practically buy stocks?

Map of water taps to fill bottles

Relationship between strut and baselineskip

How come there are so many candidates for the 2020 Democratic party presidential nomination?

Like totally amazing interchangeable sister outfits II: The Revenge

A ​Note ​on ​N!

What's the polite way to say "I need to urinate"?

How to write a column outside the braces in a matrix?

Why does Mind Blank stop the Feeblemind spell?

On The Origin of Dissonant Chords

Contradiction proof for inequality of P and NP?

Can I grease a crank spindle/bracket without disassembling the crank set?

555 timer FM transmitter

How to limit Drive Letters Windows assigns to new removable USB drives

Checks user level and limit the data before saving it to mongoDB

Can I criticise the more senior developers around me for not writing clean code?



Chrome memory and cpu usage increasing over time


Log CPU usage to file for specific process over timeGoogle Chrome Resources DirectoryWhy does Touchegg's CPU usage increase over time?svchost.exe (LocalServiceNetworkRestricted) uses excessive RAM on startupChrome 100% CPU usage, again - software_reporter_tool.exeChrome does not have enough memory to display this webpageGoogle Chrome accumulating CPU usage over time, server CPU usage at a constant 99%-100%Chrome doesn't use swapHow to debug Firefox CPU UsageWhy is heap usage from MxBean different from that in heap dump?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I want to run an Angular single page application 24/7 for at least a month without computer or browser restarts (customer requirement). For now, the application is very simple and small. I get new data from the server (one message per second) using Microsoft signalR. After 10 to 20 hours of running the memory usage increase from 160MB to 210MB. Linearly the cpu usage increases from 5% to 50% and the application becomes unresponsive.
The JavaScript heap does not increase, it stays between 14MB and 24MB over the whole application runtime.



To exclude any leak in Angular or any library dependency, I have created a plain HTML and JavaScript page that does the same. Instead of signalR I have used polling in this case. JavaScript Heap has the same behavior as the Angular version, but memory is still increasing over time.



I suspect that Chrome has a memory leak in the HTML engine. Has anyone observed a similar behavior?



Has anyone a suggestion to reach the goal: using Chrome 24/7 for a month?



Edit:
I forgot to mention that automatic reload of the website every 30 minutes does not help to keep memory low. In this case the memory increases ~1.5MB per page reload.










share|improve this question









New contributor




M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I want to run an Angular single page application 24/7 for at least a month without computer or browser restarts (customer requirement). For now, the application is very simple and small. I get new data from the server (one message per second) using Microsoft signalR. After 10 to 20 hours of running the memory usage increase from 160MB to 210MB. Linearly the cpu usage increases from 5% to 50% and the application becomes unresponsive.
    The JavaScript heap does not increase, it stays between 14MB and 24MB over the whole application runtime.



    To exclude any leak in Angular or any library dependency, I have created a plain HTML and JavaScript page that does the same. Instead of signalR I have used polling in this case. JavaScript Heap has the same behavior as the Angular version, but memory is still increasing over time.



    I suspect that Chrome has a memory leak in the HTML engine. Has anyone observed a similar behavior?



    Has anyone a suggestion to reach the goal: using Chrome 24/7 for a month?



    Edit:
    I forgot to mention that automatic reload of the website every 30 minutes does not help to keep memory low. In this case the memory increases ~1.5MB per page reload.










    share|improve this question









    New contributor




    M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I want to run an Angular single page application 24/7 for at least a month without computer or browser restarts (customer requirement). For now, the application is very simple and small. I get new data from the server (one message per second) using Microsoft signalR. After 10 to 20 hours of running the memory usage increase from 160MB to 210MB. Linearly the cpu usage increases from 5% to 50% and the application becomes unresponsive.
      The JavaScript heap does not increase, it stays between 14MB and 24MB over the whole application runtime.



      To exclude any leak in Angular or any library dependency, I have created a plain HTML and JavaScript page that does the same. Instead of signalR I have used polling in this case. JavaScript Heap has the same behavior as the Angular version, but memory is still increasing over time.



      I suspect that Chrome has a memory leak in the HTML engine. Has anyone observed a similar behavior?



      Has anyone a suggestion to reach the goal: using Chrome 24/7 for a month?



      Edit:
      I forgot to mention that automatic reload of the website every 30 minutes does not help to keep memory low. In this case the memory increases ~1.5MB per page reload.










      share|improve this question









      New contributor




      M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I want to run an Angular single page application 24/7 for at least a month without computer or browser restarts (customer requirement). For now, the application is very simple and small. I get new data from the server (one message per second) using Microsoft signalR. After 10 to 20 hours of running the memory usage increase from 160MB to 210MB. Linearly the cpu usage increases from 5% to 50% and the application becomes unresponsive.
      The JavaScript heap does not increase, it stays between 14MB and 24MB over the whole application runtime.



      To exclude any leak in Angular or any library dependency, I have created a plain HTML and JavaScript page that does the same. Instead of signalR I have used polling in this case. JavaScript Heap has the same behavior as the Angular version, but memory is still increasing over time.



      I suspect that Chrome has a memory leak in the HTML engine. Has anyone observed a similar behavior?



      Has anyone a suggestion to reach the goal: using Chrome 24/7 for a month?



      Edit:
      I forgot to mention that automatic reload of the website every 30 minutes does not help to keep memory low. In this case the memory increases ~1.5MB per page reload.







      google-chrome html javascript cpu-usage memory-leaks






      share|improve this question









      New contributor




      M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited yesterday







      M4n1













      New contributor




      M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      M4n1M4n1

      11




      11




      New contributor




      M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      M4n1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          M4n1 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429521%2fchrome-memory-and-cpu-usage-increasing-over-time%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          M4n1 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          M4n1 is a new contributor. Be nice, and check out our Code of Conduct.













          M4n1 is a new contributor. Be nice, and check out our Code of Conduct.












          M4n1 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429521%2fchrome-memory-and-cpu-usage-increasing-over-time%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...