Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Memory leak #72

@peter-o

Description

@peter-o

I'm currently implementing Ionic2 app with this wrapper and it seems to cause issues with memory usage (fully explained here: https://stackoverflow.com/questions/46086610/ionic2-angularfire2-offline-memory-leak)
It looks like every update of the object on the list increases the memory usage by over 1MB which leads to memory leak and app crash on android device. I'm updating each item using following code:
this.db.object("/path/to/list/objectKey").update(newData);
At the same time, I have a list (AfoListObservable) displayed on the screen with async pipe so I'm not sure if the issue is caused by the update itself or because the list is refreshed. The list is created like this:
var list = this.db.list("/path/to/list")
The list is not huge (~40 objects when I tested it) but the app can easily use over 100MB after just a few minutes of using it (strting from ~35MB). Has anyone experienced similar issues before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions