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 leaks crashes app if loading video from gallery #17

Open
iosephmagno opened this issue Feb 25, 2024 · 1 comment
Open

Memory leaks crashes app if loading video from gallery #17

iosephmagno opened this issue Feb 25, 2024 · 1 comment

Comments

@iosephmagno
Copy link

Hello @albemala,
we tried your plugin and discovered an issue that causes app to crash due to OOM. This is reproducible by loading video from device gallery. Unlike, the short ones loaded from resources, device gallery's videos are saved at full resolution and they crash plugin if more 2 videos are loaded in a row.

// heap gets to over 512MB at some point
Clamp target GC heap from 522MB to 512MB

Can you have a look at it? It should be related to dispose not freeing up resources. It occurs on both android and iOS.

@loushiano
Copy link

any updates on this?

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

2 participants