THEOplayer / react-native-theoplayer

A React Native THEOplayerView component
https://theoplayer.github.io/react-native-theoplayer/
MIT License
60 stars 21 forks source link

OutOfMemory Error on Android with react-native-theoplayer and react-native-theoplayer-ui #349

Open RichardLima opened 2 months ago

RichardLima commented 2 months ago

Description

We are experiencing an OutOfMemory error when using the react-native-theoplayer and react-native-theoplayer-ui packages on Android. This issue occurs in our production app.

Logs

Console Google Play Screenshot 2024-07-11 at 10 50 46

Additional Information

Leak Canary Screenshot 2024-07-11 at 11 04 45

The logs were taken from the Google Play Console, and the additional information was gathered using Leak Canary in a development environment.

Package Version

name version
react-native 0.71.15
react-native-reanimated 2.14.4
@react-navigation/native 6.1.9
@react-navigation/native-stack 6.9.17
@react-navigation/stack 6.3.20
react-native-screens 3.30.1
expo 48.0.19

We also tried running with react-native-reanimated 3.2.0, but the problem persisted.

tvanlaerhoven commented 1 month ago

@RichardLima when does the OOM issue occur? Is it during a long play-out session, or repeatedly creating/destroying the player, or another use-case?