Slowness in Node ng serves when spending a certain time

Asked

Viewed 373 times

0

I start my server with ngserve, with the passage of time the computer will be slow until it is unusable, I have to close the Node and open again, then goes for a while.

Has anyone been through it? Any idea what might be causing slowness?

My computer is an i5 7 generation...

  • Probably you have some observable that you are not calling the unsubscribe or some component that has some memory Leak or is not being cleaned properly while being destroyed.

  • I think that’s not the case @Eduardovargas I think it refers to the dev environment, and in it we have livereload that cleans the stack in Reload. What is your version of Angular?

  • @angular-devkit/Architect 0.6.8 @angular-devkit/build-angular 0.6.8 @angular-devkit/build-Optimizer 0.6.8 @angular-devkit/core 0.6.8

  • rxjs 6.2.1 typescript 2.7.2 webpack 4.8.3

  • So, I’m already making the unsubscribe, my application is small, only has a login screen and another page... I don’t know what can cause so much locking after ng serves

No answers

Browser other questions tagged

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