Angular Application 4 gets slower over time [closed]

1

Hello. I have an Angular 4.3.5 application that gets slower when it's used after a while (~ 20 minutes).

My scenario is more or less this:

  • API Rest and the static files of the Angular are in a RaspberryPI B 3
  • Approximately 30 RaspberryPI B 3 access the Angle application through Chromium (versions 58 and 60)

What happens:

  • Angular HTTP requests slow down as time passes. Example: from ~ 100 ms to 2 seconds

Additional information:

  • If I press F5 on Chromium the Angular application returns to normal
  • Angular uses this template link
  • Angular uses an application for Google Chrome / Chromium, which I wrote, to communicate with an arduino through the serial port (Chrome APIs I use: chrome.runtime.sendMessage, chrome.runtime.connect and chrome.serial)
  • Customers, RaspberryPI, have available resources (CPU and memory) when application slows down
  • The Angular application stores almost nothing in the browser
asked by anonymous 30.08.2017 / 15:56

0 answers