Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

33% Positive

Analyzed from 162 words in the discussion.

Trending Topics

#video#happen#web#ram#array#few#cpu#page#tab#load

Discussion (3 Comments)Read Original on HackerNews

dlcarrier•about 1 hour ago
I'm amazed by how bad web browsers are at handling web pages requests for too much RAM. I have an html files with just a one-line JavaScript command to create a 1 GiB array, that I open a few tabs of, whenever I need to stress test a computer:

    var allocation = new Array(1073741824).fill(0);
For an ecosystem that is so VM-heavy, I'm surprised there isn't a system like Linux cgroups, to limit the CPU and RAM usage of any given page.
KevinMS•about 2 hours ago
I'm glad I'm not the only one, this was giving me big problems, with Firefox on my mac

I'd click on a youtube video, nothing would happen, and I'd tab over to my CPU monitor (which I kept running for just this purpose.) and I'd see the load up around 230%. I'd have to kill the process and usually give up on the video. It would only happen to some videos, but consistently the same ones. And I'd definitely see a problem with the buttons below the video - seemed like when the tab locked up sometimes the far right button would be rendered beneath the column on the right, like the reflow failed.

I haven't seen it happen again in the last few days.

whalesalad•about 3 hours ago
bigquery studio will do this on a fresh page load.