Opened 7 years ago

Last modified 4 years ago

#13287 closed bug

Massive memory consumption with embedded video — at Version 5

Reported by: taos Owned by: pulkomandy
Priority: normal Milestone: R1/beta2
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by humdinger)

I'm on hrev50943 64bit at the moment, running either from a partition mounted in Virtualbox or on bare metal booting from the same partition with haiku_loader.efi, WebPositive is using HaikuWebKit 1.5.4 (WebKit 602.1.1).

Whenever I open heise.de, the memory used by WebPositive grows very fast until all of my RAM (2 GB for Virtualbox, 8 GB if I'm booting into Haiku) is consumed and Haiku freezes completely (takes no more than a few minutes). If I close the heise.de tab before reaching that point, memory consumption goes down almost immediately.

Not sure if this is relevant: when starting WebPositive from Terminal I get the following lines with the last message repeated several times:

Create 0:1
MESSAGE https://ssl.ligatus.com/render/ligrend.js?ts=2.9:28:6655: No page URL detected. Skipping RCE call...
MESSAGE https://tpc.googlesyndication.com/pagead/gadgets/html5/layout_engine.js?:144:467: Blocked a frame with origin "https://tpc.googlesyndication.com" from accessing a frame with origin "https://www.heise.de". Protocols, domains, and ports must match.
MESSAGE https://tpc.googlesyndication.com/pagead/js/r20170206/r20110914/activeview/osd_listener.js?:1:16499: Blocked a frame with origin "https://tpc.googlesyndication.com" from accessing a frame with origin "https://www.heise.de". Protocols, domains, and ports must match.

Change History (7)

comment:1 by taos, 7 years ago

It seems the gcc2 hybrid version is affected, too. However, the memory is not freed after the tab is closed but only after WebPositive is closed.

comment:2 by humdinger, 7 years ago

I see that too, however Haiku doesn't freeze for me, but Web+ crashes. Attached is the debug report.

On the heise.de site Web+ starts downloading something full-throttle, I suspect it's a video linked from the sidebar. Attached is the part of the page's source code responsible for that. Would be nice if Web+ waited for me to click on the video first... :)

by humdinger, 7 years ago

Web+ crash on heise.de

comment:3 by humdinger, 7 years ago

Trac keeps refusing the page source as spam and doesn't accept my captcha input... The page source is now at http://sprunge.us/UYWN

by axeld, 7 years ago

Attachment: heise-source.html added

Responsible page source from humdinger

comment:4 by axeld, 7 years ago

I could attach it just fine, so there it is.

comment:5 by humdinger, 7 years ago

Description: modified (diff)
Summary: [WebPositive] Massive memory consumption for heise.deMassive memory consumption with embedded video

A similar issue, though here Web+ just quits after a while, can be seen with the embedded vimeo player at the commercial site Nerdalize.

Note: See TracTickets for help on using tickets.