PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] OutOfMemoryError when playing long (2h+) videos on older devices

Open santraj611 opened this issue 3 months ago • 2 comments

Checklist

  • [x] I make sure that the issue is NOT a duplicate of pinned issues
  • [x] I make sure I am using the LATEST version - check here
  • [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • [x] I have attached the error report in the issue

Describe the bug

Affected version

4.7.2

Steps to reproduce this bug

Play any long video longer then 2 hour on youtube

Expected behavior

It should just play the damn video

Actual behavior

First it heavily lags. Then it crashes.

Logs

I often get this type of errors in almost most of the previous version.

"user_action":"ui error",
"request":"ACRA report",
"content_language":"en-US",
"content_country":"US",
"app_language":"en_US",
"service":"none",
"package":"InfinityLoop1309.NewPipeEnhanced",
"version":"4.7.2",
"os":"Linux Android 6.0 - 23",
"time":"2025-08-30 08:10",
"exceptions":
java.lang.OutOfMemoryError: Failed to allocate a 28 byte allocation with 2968 free bytes and 2968B until OOM
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter(AbstractQueuedSynchronizer.java:1829)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2043)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1071)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
java.lang.Thread.run(Thread.java:818)

Affected Android/Custom ROM version

Android 6

Affected device model

Lenovo K10a40

Additional information

What did I find

I did find an old issue on this matter marked closed. But I can assure you it is still here.

What I think you should know

  • I am using v7 version of the app
  • This bug is not reproducible in v8

Frequency

Always (100% of the time)

Device

No response

Steps to reproduce the bug

No response

Additional context

No response

santraj611 avatar Aug 31 '25 04:08 santraj611

I'm also having this problem on my phone. It's a Galaxy J5 Metal. The app crashes when the video is +40 minutes long. -translated by Google translate

ghost avatar Aug 31 '25 11:08 ghost

Bump

Have to use the share options and run Smartube.

Please fix, thanks

Chatzsteve avatar Sep 12 '25 09:09 Chatzsteve