Memory footprint grows until app crashes


We have an web app for a streaming service. Whenever it streams the “Memory footprint” slowly grows until bove 1,000,000K as seen in the Tizen Task Metrics Manager.

Somewhere after that, the app crashes.

The heap size is around 25MB for the main thread, that handles the player and streaming and around 10-15 MB for the background worker (service-worker).

In the background-worker I see some objects with a much higher retained size than shallow size, like some webpack chunk loading and some tracking software. But I need to dig further into that.

Question: Doesn’t it sound like we have a leak, that fills up the memory and crashes the app? How exactly should we interpret “memory footprint”? Is it the current memory footprint of the browser running the app?

Any thoughts would be greatly appreciated.

Since no one responded, I would suggest you look for an answer in the FAQ-Q/A under the most appropriate topic on the Smart TV Seller Office site If you don’t find a solution there then sign in and open a Smart TV Seller Support Request . They can help you better there.

Samsung Developer Relations