question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

graphics memory leak

See original GitHub issue

Description

Graphics memory leak occurred on my device. Here is my code

<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/_image" android:layout_width="match_parent" android:layout_height="match_parent" fresco:placeholderImage="@drawable/default_img" fresco:roundBottomEnd="false" fresco:roundBottomStart="false" fresco:roundedCornerRadius="6dp" />

The code above is item view of RecycleView which load data page by page. When i scroll to end to load next page, then, graphics memory leak occurs.

When not use round corner, leak would not happen. I can fix it by set Activity android:hardwareAccelerated=“false” ,but list scroll less smoothly.

20180425172052

Additional Information

  • Fresco version:Any
  • Platform version: LeMobile Le X820 Android 6.0.1 API=23

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:5
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
abstractHerocommented, Mar 21, 2019

I’ve just tested on an emulator with Android 8.1 - there is no such issue. I can reproduce the issue on a device with Android 6.0 (a real device) every time if the hardware acceleration is on.

0reactions
abstractHerocommented, Mar 20, 2020

Hi! Unfortunately, I haven’t 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Memory leak through my graphics card?? : r/techsupport
A memory leak is when a piece of software, usually due to a bug, keeps requesting more and more memory and doesn't give...
Read more >
What is a Memory Leak? How to Prevent it? - Appuals.com
A Memory Leak happens when the resources did not return to the system of the app you were using. The usage of your...
Read more >
dwm.exe (Desktop Window Manager) Produces a Memory ...
Describes an issue where drivers newer than 27.20.100.8587 are causing dwm.exe (Desktop Windows Manager) to produce memory leaks.
Read more >
Intel graphics driver (as of 27.20.100.8587) has memory leak
The graphics drivers cause a memory leak in the Desktop Windows Manager. The problem is known since 2020, if my research is not...
Read more >
GPU memory leak? - Spacedesk
In Task Manager, the amount of “Dedicated GPU Memory” reported as allocated to SpaceDesk keeps growing at a rate of about 100MB per...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found