#13287 closed bug (fixed)
Massive memory consumption with embedded video
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 )
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.
Attachments (2)
Change History (11)
comment:1 by , 8 years ago
comment:2 by , 8 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 , 8 years ago
Attachment: | WebPositive-11573-debug-10-02-2017-08-53-50.report added |
---|
Web+ crash on heise.de
comment:3 by , 8 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
comment:5 by , 8 years ago
Description: | modified (diff) |
---|---|
Summary: | [WebPositive] Massive memory consumption for heise.de → Massive 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.
comment:6 by , 6 years ago
Tested on hrev52058 x86_gcc2 - This consumed 1GB RAM on hrev52058 x86_gcc2 using WebPositive 1.1 within a few minutes: Apple WWDC 2018 Youtube video, https://youtu.be/UThGcWBIMpU
Older x86 laptops are limited to 2GB RAM. This issue easily overpowers laptops using <= 1GB RAM within minutes. See #13214.
comment:7 by , 6 years ago
Fixed with haikuwebkit 1.6.9 update (heise.de, tested on hrev53024 x86_gcc2). Didn't grow in memory after page load completed.
comment:9 by , 5 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
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.