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.

Out of memory error in Firefox after long running video

See original GitHub issue

Have you read the FAQ and checked for duplicate open issues? Yes, this one seemed similar but not the same: https://github.com/google/shaka-player/issues/1990

What version of Shaka Player are you using? 2.5.2

Can you reproduce the issue with our latest release version? Tested the stream below in 2.5.7 and ran into a different issue where the video would go black and playback would halt but no error would be thrown.

Can you reproduce the issue with the latest code from master? Had difficulty getting the shaka demo page up and running locally. Happily to test there if I can get some pointers

Are you using the demo app or your own custom app? DASH playback embedded in JW Player. The error however seems to be surfaced directly from shaka player, hence the issue being reported here

If custom app, can you reproduce the issue using our demo app? I run into the above noted issue with playback completely stopping after 10-20 minutes of playback on 2.5.7

What browser and OS are you using? macOSX Mojave 10.14.6
Firefox 72.0

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

What are the manifest and license server URIs? Manifest: https://814bffb9b389f652.mediapackage.ap-southeast-2.amazonaws.com/out/v1/4569cab089e5405b9433a9f8c57d7aff/manifest.mpd

What did you do?

  1. Set up JWPlayer utilizing shaka-player v2.5.2 for DASH playback with the above manifest
  2. Set up a time event handler to seek to the start of the video when nearing the end (this ensures the above 5min clip lasts long enough to repro without reloading the manifest)
  3. Wait anywhere from 45-90 minutes.
  4. See firefox bottom out with the following messaging:
GetMessage: NS_ERROR_OUT_OF_MEMORY (0x8007000e) provider.shaka.js:10:210151

JWPlayer notes that the error code coming from shaka is 3016 which is VIDEO_ERROR based on the docs.

What did you expect to happen? I expect Firefox to be able to consistently play long running content without issuue.

What actually happened? After the above 45-90 minutes of waiting, on 2.5.2 Firefox throws an out of memory exception.

It seems as though in version 2.5.7, there is a different issue where playback completely halts and a black screen is given after 10-20 min or so.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
theodabcommented, Dec 19, 2019

I’ll see if I can reproduce this.

0reactions
shaka-botcommented, Jan 9, 2020

Closing due to inactivity. If this is still an issue for you or if you have further questions, you can ask us to reopen or have the bot reopen it by including @shaka-bot reopen in a comment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox uses too much memory or CPU resources - How to fix
To determine if an extension or theme is causing Firefox to use too many resources, start Firefox in Troubleshoot Mode and observe its...
Read more >
Out of memory error in Firefox after long running video #2311
It's possible that this was an issue directly in Firefox. After updating to 72.0b9 I could no longer reproduce in long running videos....
Read more >
Firefox 105: number of out-of-memory crashes significantly ...
Firefox 105 reduces the number of out-of-memory crashes on Windows PCs significantly, thanks to this interesting change by Mozilla.
Read more >
Firefox Using Too Much Memory? 7 Ways to Fix
Memory leaks are usually caused when a browser, with multiple running tabs, is left running for a long period of time. After a...
Read more >
Only certain YouTube videos causing tab freezes, instability ...
I am on Firefox 106.0b8 Windows 10 build 19044 with NVidia driver version 517.48 (the latest as of writing). This problem has been...
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