Angular 4 application slows down over time

Asked

Viewed 222 times

1

Hello. I have an Angular 4.3.5 application that slows down when used after a time (~20 minutes).

My scenario is more or less like this:

  • Rest API and Angular static files are on a Raspberrypi B 3
  • Approximately 30 Raspberrypi B 3 access the Angular application through Chromium (versions 58 and 60)

What happens:

  • Angular HTTP requests get slower as time goes on. 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 https://themeforest.net/item/primer-angular-2-material-design-admin-template/19228165
  • Angular uses an app for Google Chrome/Chromium, which I wrote, to communicate with an Adian through the serial port (Chrome Apis that I use: Chrome.runtime.sendMessage, Chrome.runtime.connect and Chrome.serial)
  • The clients, Raspberrypi, have available features (CPU and memory) when the application gets slow
  • The Angular application stores almost nothing in the browser
  • 1

    What your app does?

  • I reformulated the question @Giovane thank you very much!

  • It is probably memory Leak, make sure you are giving unsubscribe in their services.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.