Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak #37

Open
eliduvid opened this issue Jul 29, 2020 · 0 comments
Open

Memory leak #37

eliduvid opened this issue Jul 29, 2020 · 0 comments

Comments

@eliduvid
Copy link
Contributor

Hey!

The app leaks memory, and fails because of it if you leave it running for long enough.

As I saw in heap dump, a problem is with allResults property of state, that is never cleaned up from old data, and seams to contain all the cars that ever existed of something like this.

allResults: (lastState.allResults || []).concat(cw_carScores),

Peace :-)

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

No branches or pull requests

1 participant