Skip to content

Optimization for Low-Spec Devices (for 2GB ram) (32bit device) #12958

@Tausif-ZeaREX

Description

@Tausif-ZeaREX

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
  • I have read and understood the AI policy. The content of this bug report is not generated by AI.

Affected version

0.28.0

Steps to reproduce the bug

Crashed while playing 60 fps video
Giving error of memory issues
Probably ram leakage
I have 2gb ram

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=op2qodcjYxU
  • Content Country: JP
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube
  • Timestamp: 2025-12-28T10:52:15.769+06:00
  • Package: org.schabi.newpipe
  • Service: YouTube
  • Version: 0.28.0
  • OS: Linux Android 7.1.2 - 25
Crash log

com.google.android.exoplayer2.ExoPlaybackException: Source error
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:620)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected OutOfMemoryError: Failed to allocate a 65548 byte allocation with 4992 free bytes and 4KB until OOM
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:441)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.OutOfMemoryError: Failed to allocate a 65548 byte allocation with 4992 free bytes and 4KB until OOM
at com.google.android.exoplayer2.upstream.DefaultAllocator.allocate(DefaultAllocator.java:102)
at com.google.android.exoplayer2.source.SampleDataQueue.preAppend(SampleDataQueue.java:233)
at com.google.android.exoplayer2.source.SampleDataQueue.sampleData(SampleDataQueue.java:176)
at com.google.android.exoplayer2.source.SampleQueue.sampleData(SampleQueue.java:590)
at com.google.android.exoplayer2.extractor.TrackOutput$-CC.$default$sampleData(TrackOutput.java:157)
at com.google.android.exoplayer2.source.SampleQueue.sampleData(SampleQueue.java:0)
at com.google.android.exoplayer2.source.chunk.BundledChunkExtractor$BindingTrackOutput.sampleData(BundledChunkExtractor.java:227)
at com.google.android.exoplayer2.extractor.TrackOutput$-CC.$default$sampleData(TrackOutput.java:157)
at com.google.android.exoplayer2.source.chunk.BundledChunkExtractor$BindingTrackOutput.sampleData(BundledChunkExtractor.java:0)
at com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor.readSample(FragmentedMp4Extractor.java:1455)
at com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor.read(FragmentedMp4Extractor.java:344)
at com.google.android.exoplayer2.source.chunk.BundledChunkExtractor.read(BundledChunkExtractor.java:147)
at com.google.android.exoplayer2.source.chunk.ContainerMediaChunk.load(ContainerMediaChunk.java:127)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
... 3 more


Another report:

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: JP
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Timestamp: 2025-12-28T10:47:15.887+06:00
  • Package: org.schabi.newpipe
  • Service: none
  • Version: 0.28.0
  • OS: Linux Android 7.1.2 - 25
Crash log

java.lang.OutOfMemoryError: Failed to allocate a 12 byte allocation with 3952 free bytes and 3KB until OOM
at okhttp3.internal.http2.Http2Connection.shutdown(Http2Connection.kt:419)
at okhttp3.internal.http2.Http2Connection.close$okhttp(Http2Connection.kt:449)
at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke(Http2Connection.kt:627)
at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke(Http2Connection.kt:609)
at okhttp3.internal.concurrent.TaskQueue$execute$1.runOnce(TaskQueue.kt:98)
at okhttp3.internal.concurrent.TaskRunner.runTask(TaskRunner.kt:116)
at okhttp3.internal.concurrent.TaskRunner.access$runTask(TaskRunner.kt:42)
at okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:65)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)


Another report bug:

java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available

Affected Android/Custom ROM version

Android 7 32bit, lineage os 14.1

Affected device model

Samsung Galaxy Tab Pro 10.1 , 16GRom 2GB RAM Exynos 5420 Octa (28 nm) CPU Octa-core (4x1.9 GHz Cortex-A15 & 4x1.3 GHz Cortex-A7) GPU Mali-T628 MP6

Additional information

Probably not optimized for 2GB Ram

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugdevice/software specificIssues that only happen on some devices or with some specific hardware/softwareperformanceRelated to performance and optimisation; affects the speed or memory efficiency of the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions