Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Memory gc opt #427

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Memory gc opt #427

wants to merge 3 commits into from

Conversation

Dovar66
Copy link

@Dovar66 Dovar66 commented May 24, 2022

No description provided.

@PinLeung
Copy link

在修改以上代码后,在播放较大的SVG时依旧发生oom, Bitmap无法回收

@Dovar66
Copy link
Author

Dovar66 commented Jun 8, 2022

在修改以上代码后,在播放较大的SVG时依旧发生oom, Bitmap无法回收

两点建议:1.检查svga里的图片尺寸和数量是否合理 2.将svga的bitmap对接到你们应用内统一的bitmap pool,比如glide

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

Successfully merging this pull request may close these issues.

2 participants