You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We are getting OOM reports after playing for very long >6 hours on device model that is ~
The stacktrace is as follow
Fatal Exception: java.lang.OutOfMemoryError
Failed to allocate a 33554444 byte allocation with 4194152 free bytes and 28MB until OOM
java.util.HashMap.resize (HashMap.java:511)
java.util.HashSet.add (HashSet.java:217)
com.snowplowanalytics.core.media.controller.MediaSessionTrackingStats.updateDurationStats (MediaSessionTrackingStats.java:106)
To Reproduce
Enable media tracking updating position every second and play some content for several hours
Device informatoin (please complete the following information):
Mostly seeing on a STB with 1GB of RAM running Android 7, but it's showing up on other devices more sporadically
**Other
The set (HashSet) is trying to allocate ~35MB of memory, that doesn't feel like much, but it's probably holding another array of ~30MB for the copy.
We are wondering if we can come up with a different approach to account for the played seconds instead of using a ever growing set?
The text was updated successfully, but these errors were encountered:
Describe the bug
We are getting OOM reports after playing for very long >6 hours on device model that is ~
The stacktrace is as follow
To Reproduce
Enable media tracking updating position every second and play some content for several hours
Device informatoin (please complete the following information):
Mostly seeing on a STB with 1GB of RAM running Android 7, but it's showing up on other devices more sporadically
**Other
The set (
HashSet)
is trying to allocate ~35MB of memory, that doesn't feel like much, but it's probably holding another array of ~30MB for the copy.We are wondering if we can come up with a different approach to account for the played seconds instead of using a ever growing set?
The text was updated successfully, but these errors were encountered: