Skip to content

Memory leaks in real-time data when scrollToEnd is true #314

Open
@alexeyvasilyev

Description

@alexeyvasilyev

Steps to reproduce:

  1. Install Graph View demo from https://play.google.com/store/apps/details?id=com.jjoe64.graphview_demos
  2. Select Realtime Updates from the drawer.
  3. Run adb shell dumpsys meminfo com.jjoe64.graphview_demos
    Private dirty parameter will be constantly growing. Meaning that this is a memory leak in the app.

I see 22 MB leak within 2.5 minutes (from 70464 to 91116). See http://pastebin.com/4gYeP5BL

If scrollToEnd set to false there are no leaks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions