yuliskov / SmartTube

SmartTube - an advanced player for set-top boxes and tvs running Android OS
https://www.patreon.com/smarttube
Other
17.03k stars 957 forks source link

Out of memory #2806

Open Quake4 opened 10 months ago

Quake4 commented 10 months ago

IMG20230818222836

redlers commented 10 months ago

Same problem after update

jordanade commented 10 months ago

Same here, plus video breaking up a lot

WayneBosworth commented 10 months ago

I have the same error and videos pausing. My buffer settings are set to high so it's not that. Also, this issue seems to occur less when the debug information is showing.

Running this on a FireTV stick 4k.

image

realkot commented 10 months ago

Same problem with 4k videos. IMG_20230831_234708

MasterBubbles commented 10 months ago

Same issue here since latest update 18.92

Mudflapper commented 10 months ago

Same here. Tivo Stream 4K, latest firmware, running latest SmartTubeNext non-beta:

Unexpected OutOfMemoryError: Failed to allocate a 65552 byte allocation with 55992 free bytes and 54KB until 00M, target footprint 402653184, growth limit 402653184

cnunezba commented 10 months ago

+1 same error with Xiaomi box since latest updates. Aprox. update 18.x

bobnecat commented 10 months ago

Can confirm! There is a memory leak in 4k/60fps playback on latest Firestick 4k max. It is very visible when watching with firestick debug menu, it consumes few MB per second until eventually the app crashes and memory clears. No issues in lower than 4k playback. The issue has appeared in the latest update, maybe the one before the latest.

85rhrl commented 9 months ago

That also happens to me, I have a Firestick 4k max. Videos start to break and Firestick becomes unresponsive for a few seconds.

calvinbui commented 9 months ago

Same on NVIDIA SHIELD TV Pro

MikeJonathan commented 9 months ago

Same here. Running on Firestick 4k. Happens every time I select 4k resolution, but anything lower is fine. It's been like this since at least 3~ months ago?

eur0pa commented 9 months ago

Happening more and more lately. Any acknowledgement from the dev?

alxmorph commented 9 months ago

I have the same issue... Minix u9h with Slimboxtv 9.11.1 firmware. Setting buffer from low to high forces app to crash. Viewing 4k or other "heavy" videos is almost impossible, the app crashes instantly. Version 19.17 20231001_231249

allddd commented 9 months ago

This hasn't happened to me at all until recently, so I assumed it wasn't version specific.

After some digging, I found that the only setting changed was the buffer from low to high, and changing it back to low fixed the problem on 19.17 (Firestick 4k Max).

alxmorph commented 9 months ago

This hasn't happened to me at all until recently, so I assumed it wasn't version specific.

After some digging, I found that the only setting changed was the buffer from low to high, and changing it back to low fixed the problem on 19.17 (Firestick 4k Max).

I found the issue. The problem was in ROM itself. The Slimboxtv ATV version had some bugs, so I have just installed the Slimboxtv AOSP version and all problems have gone. So, in my case, not the app itself has been problematic.

Quake4 commented 7 months ago

Latest version change the message IMG20231126001421

soyelmismo commented 6 months ago

Happens the same here, a possible temporal fix is setting the buffer to low

iafilius commented 6 months ago

Hi, confirming also see-ing OOM’s for a while now. Using firestick 4K. You can check “dropped frames” in “developers overlay”, which shall be on “0”. As suggested as solution to set buffering to “low” seems to solve/mask it for me. (Developer overlay says around 30 seconds buffering still, while playing)

Watching closely with set “medium” sized buffer in “developers overlay” watching 4K@60fps. First a “hick-up” shows, and dropped frames change from zero to certain number. From there you will notice buffer in decreasing 1s/second, until zero. (Like it was stopping to refill buffer, and just consuming buffer until empty. “Medium” or “high” buffers seem to trigger this situation. (About 60 seconds buffering) To trigger it quicker:

Looks like some failure to recover from an error condition triggered by medium/high buffers and playing 4K@60Hz on my firestick 4K.

Confirming to avoid the anoiing issue is to set video buffer to low (30seconds), and play 4K@60fps without the OOM issues (nor hick-up)

BlueStarBRS commented 1 month ago

Have this Shit sooo mamy times over and over again with my fire tv Stick 4K i dont know how to get rid of it.

redlers commented 3 weeks ago

this happened to my again, when watching 4k