question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Memory leaks in Tizen OS

See original GitHub issue

Have you read the FAQ and checked for duplicate open issues? - yes

What version of Shaka Player are you using? - 2.4.6 and 2.5.3

Can you reproduce the issue with our latest release version? - checking the changelog for 2.5.4 highly likely it will have the same issues.

Can you reproduce the issue with the latest code from master? - did not try

Are you using the demo app or your own custom app? - Custom Application

If custom app, can you reproduce the issue using our demo app? - did not try

What browser and OS are you using? - Chromium / Samsung Tizen TV

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

  • 32" Class N5300 Smart Full HD TV (2018)
  • 40" Class NU7100 Smart 4K UHD TV (2018)
  • 49" Class NU8000 Premium Smart 4K UHD TV (2018)
  • 43" Class Q60R QLED Smart 4K UHD TV (2019)
  • 43" NU6900 Smart 4K UHD TV (2018)

What are the manifest and license server URIs? - private information. We can explore the possibility to have public URLs and share with you.

What did you do?

  • Start playback of HLS Live Broadcast with 4-second segments and play it as long as possible

What did you expect to happen?

  • We expect that that Tizen TV device can play Live broadcast for at least 4 hours, ideally 24 hours

What actually happened?

We see that low-end and high-end devices crash after some time. The low-end devices can even freeze. We see a bit better results with 2.4.6, where 2.5.3 - could fail even for Premium devices.

For 2.4.6 - we do not see anything useful in the application logs, mostly last logs an about of playing segment successfully.

For 2.5.3 - we see Error: 3016 for Premium devices after playing for 2+ hours. In the cases when device freeze, we do not see any error in the persisted application logs.

Test Results for 2.5.3 (In Progress)

image

Test Results for 2.4.6

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:47 (20 by maintainers)

github_iconTop GitHub Comments

2reactions
bwallbergcommented, Nov 3, 2020

In 3.x I see memory growing continuously in chrome as well as on WebOS ( I assume Tizen as well since playback stops working after about 20 minutes but I didn’t profile this ) but in 2.5.17 it is stable playing live DASH + Widevine DRM, seems there is some difference there between the versions. I haven’t managed to track down the difference yet though.

1reaction
bwallbergcommented, May 18, 2021

Hi @leszek-syroka

The memory issue I encountered has already been resolved in shaka 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Detect runtime memory leaks with Leak Sanitizer - Tizen Docs
The Leak Sanitizer is a profiling tool used to detect runtime memory leaks in Tizen native applications. The Leak Sanitizer lets you discover...
Read more >
Memory leaks in Tizen OS · Issue #2059 - GitHub
We see that low-end and high-end devices crash after some time. The low-end devices can even freeze. We see a bit better results...
Read more >
27 000 Errors in the Tizen Operating System - PVS-Studio
A memory leak will occur, if it is not possible to allocate a new memory fragment. This type of an error will be...
Read more >
Tizen .NET Memory Profiler | IEEE Conference Publication
In this paper we present a tool for identifying memory leaks in applications with mixed native and managed code. Such applications have parts...
Read more >
App running out of memory - Galaxy Watch for Tizen - Samsung ...
I noticed memory leaks and crashes like that usually when I tried to use an external libraries not designed for hardware-limited devices like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found