Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

Memory leak with dispatcher #340

Closed
bhaniel opened this issue Feb 16, 2017 · 2 comments
Closed

Memory leak with dispatcher #340

bhaniel opened this issue Feb 16, 2017 · 2 comments

Comments

@bhaniel
Copy link

bhaniel commented Feb 16, 2017

Hi ,

I noticed that when we have a dispatcher that fire at x amount of time there is a leak with the QueueAction.

this.lobbySubscribe = Observable.interval(100).subscribe(() => { this.store.dispatch(this.lobbyActions.loadLobbyUpdate(deepClone(lobbyJson))); });

Adding the images from the Heap Profile :
1.
image
2.
image

details :

Rxjs : 5.0.3
"@ngrx/core": "^1.2.0",
"@ngrx/effects": "^2.0.0",
"@ngrx/store": "^2.2.1",

Thanks For the help

@orizens
Copy link

orizens commented Feb 16, 2017

hi @bhaniel
this seems to be an rxjs memory leak as referenced in a past issue - #167
you should upgrade rxjs to the latest version

@bhaniel
Copy link
Author

bhaniel commented Feb 17, 2017

As I mentioned my rxjx is 5.0.3 also upgraded to 5.1.0 and the issue still there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants