The garbage collector runs every 5 seconds after MediaSource is attached to HTMLVideoElement


There is a discussion on an old forum:

We also are experincing FPS drops in our application after MediaSource is attached to HTMLVideoElement. Affected TVs: 43UN7300PUF(4.40.76) and older models.
The test application from the discussion also causes FPS drops every 5 seconds (can be observed on a tv screen).

In our case - after MSE attachment - the second GC call is added after the first one blocking the rendering for ~250ms, while it collects 0 bytes, according to Profiler.

Can something be done about this issue? Maybe, there are some undocumented options to disable this GC via appinfo.json? Thanks.

Please check your memory usage first. We recommend less than 250MB. Thank you.

Thanks for the reply. Usage of memory in our app never exceeds 180 Mb. Measurement were done using ares-cli: ‘ares-device-info -d DEVICE -r -l -s app.csv -t 1’

Please email us the following at

  • Test video showing the issue
  • Your app .ipk file
  • Steps to reproduce the issue

And the following information of your test device are also required. (You can check this in the Settings > General > About This TV.)

  • TV model name:
  • TV software version:
  • webOS TV version: (This can be found when you click the TV model name in the About This TV menu.)
  • Region: