java.lang.OutOfMemoryError is occurred when play specific video
Maintainers usually reply within 4 days
@tianyif is already working on this.
Since Jun 18, 2026.
Assessment
This issue has not been assessed yet.
Description
Version
Media3 main branch
More version details
Not
Devices that reproduce the issue
Samsung S24 Ultra
Devices that do not reproduce the issue
Not
Reproducible in the demo app?
Yes
Reproduction steps
- Play local video: https://drive.google.com/file/d/1ICSjdRrwtMWyQ7bO8sLuypTa8uk9iki3/view?usp=sharing
Expected result
Video is playing
Actual result
Crash is occurred:
java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 224864 free bytes and 219KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
at com.android.internal.os.BinderInternal$GcWatcher.finalize(BinderInternal.java:64)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:389)
at java.lang.Daemons$FinalizerDaemon.processReference(Daemons.java:369)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:354)
at java.lang.Daemons$Daemon.run(Daemons.java:135)
Media
Bug Report
- You will email the zip file produced by
adb bugreportto [email protected] after filing this issue.
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 998
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from androidx/media
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 4 days
-
MediaSessionService: the platform session keeps every player command and publishes the whole queue until the session is added, e.g. after a sticky restartPossibly taken @marcbaechinger claimed this 2 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
androidx/media#3490 · 3 comments · 1 assignee ·
Maintainers usually reply within 4 days
-
Gapless MP4/AAC from FFmpeg: padding derived as 0 from the edit list, so the rest of the last frame plays at each joinPossibly taken @rohitjoins claimed this 2 days ago. Openbug needs triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
androidx/media#3489 · 1 assignee ·
Maintainers usually reply within 4 days
-
DTS-HD passthrough never retries a failed AudioTrack since the 1-second retry minimum (#3207)Possibly taken @microkatz claimed this 2 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 57/100
androidx/media#3487 · 1 assignee ·
Maintainers usually reply within 4 days
-
Dolby Vision Profile 7 is sent to a Profile 5 decoder on DV displays without a Profile 7 decoderPossibly taken @microkatz claimed this 2 days ago. Open
Difficulty 4/5 1-2 days Newbie friendliness 48/100
androidx/media#3486 · 1 assignee ·
Maintainers usually reply within 4 days
Similar issues
-
bug web-server
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jooby-project/jooby#4035 ·
Maintainers usually reply within 1 day
-
L: javascript
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dependabot/dependabot-core#16744 ·
Maintainers usually reply within 1 day
-
intake mcp-intake needs-human-review priority:high type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Ikalus1988/MisakaNet#3987 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
quarkiverse/quarkus-google-cloud-services#1187 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
locationtech/jts#1250 ·