This web address in datascience.com blog cause consuming all memory

Bug reports and enhancement requests
Post Reply
Nooni
Posts: 3
Joined: Sun Feb 03, 2019 9:08 am

This web address in datascience.com blog cause consuming all memory

Post by Nooni »

First I would like to thank you for your great add-on!
Here is my report:
Installed Versions:
• Firefox version 65.0 (also relevant to previous versions: 64, 63)
• NoScript version 10.2.2rc2 (also relevant for latest stable versions: )
• Updated Windows 7 SP1

Description:
Upon loading the following page (PLEASE DO NOT LOAD IT YET):
https://www.datascience.com/blog/stock-price-time-series-arima
Firefox process starts consuming A LOT of memory: about 10 GB increase in few seconds,
and still increasing consuming virtual memory swap file.
The computer becomes sluggish, and there is a need to kill Firefox process.

Work around:
Either load the above mentioned page in another browser or
disable NoScript add-on BEFORE loading this page in Firefox.

Thanks and all the best
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: This web address in datascience.com blog cause consuming all memory

Post by therube »

Cool.
Never seen so much memory eaten (14 GB) so quickly.

But I don't see where it is a NoScript issue, as I see the same in a brand new Profile - no extensions.
(I did get a "script is slowing down FF" message, which I told FF to stop it.)
(FF 65 tested above, new Profile.)



SeaMonkey 2.49 x64 crashes "instantly" (essentially as soon as I type in the URL).
(I see a quick [process manager] blip ~3.5 GB RAM, then it disappears.)

SeaMonkey 2.53 x64 (akin to FF 56) got up to 17 GB before a "stop script" warning came up.
Clicking, Stop, & memory has reduced to 12 GB & except for the "little" fact, all looks well ;-).

An ancient version of Chrome (38.x), 350 MB.



Whatever this means:

X-UA-Compatible: IE=edge,chrome=1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53 Lightning/5.8
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: This web address in datascience.com blog cause consuming all memory

Post by therube »

Adding NoScript into the mix, either NoScript 5 or 10...


SeaMonkey 2.53, 250 MB.
SeaMonkey 2.49, 281 MB.
FF 65, 800 MB (but then it settled down to ~500 MB).
(I imagine FF was doing all its spyware crap initially.)


So NoScript is actually blocking the errant script.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53 Lightning/5.8
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: This web address in datascience.com blog cause consuming all memory

Post by therube »

There are plenty of domains linked to that page.
Seems to be only 1 that is the "bad actor".

Appears to be raviolli77.github.io.
(Well, there are plenty of bad actors on that page ;-), but only that 1 causes huge ram numbers.)

Since you asked:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=mbcs">
<title>Hello World</title>
</head>
<body>
</body>
</html>
(Wonder how datascience uses that code?)


I'll note that once RAM goes up, the NoScript "dropdown" opens in a non-modal window.



The other "actors":

Code: Select all

"temp": [
      "§:datascience.com",
      "§:adroll.com",
      "§:cloudflare.com",
      "§:facebook.com",
      "§:facebook.net",
      "§:fontawesome.com",
      "§:google-analytics.com",
      "§:hotjar.com",
      "§:hs-analytics.net",
      "§:hscollectedforms.net",
      "§:hsleadflows.net",
      "§:hubspot.com",
      "§:linkedin.com",
      "§:mathjax.org",
      "§:oracle.com",
      "§:rawgit.com",
      "§:sf14g.com",
      "§:trustarc.com",
      "§:twitter.com"
PS: What would happen if a site used § in its URL?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53 Lightning/5.8
Nooni
Posts: 3
Joined: Sun Feb 03, 2019 9:08 am

Re: This web address in datascience.com blog cause consuming all memory

Post by Nooni »

Here is a clarification:
Loading the page mentioned in FF when NS is disabled DOES NOT cause any problem.
Once enabling NS and then refreshing the page, the memory consumption very rapidly rises.
I clickly closes the tab to avoid long computer slowdown, and the memory is released.
So it seems NS does have some issue here.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: This web address in datascience.com blog cause consuming all memory

Post by therube »

If you allow "all", that will happen.
If you run without NoScript installed at all, that will happen.

You can allow all EXCEPT for raviolli77.github.io & you should be OK.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53 Lightning/5.8
Nooni
Posts: 3
Joined: Sun Feb 03, 2019 9:08 am

Re: This web address in datascience.com blog cause consuming all memory

Post by Nooni »

I get the same results on another PC.
Not just reproducing this on my PC:

Loading the page mentioned in FF 65.0 when NS add-on is completely disabled DOES NOT cause any problem.
I disable NS on "about:addons" configuration page
Once enabling NS on "about:addons", and then refreshing the page,
the memory consumption very rapidly rises.
Again,it seems NS does have some issue here.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
musonius
Master Bug Buster
Posts: 203
Joined: Sun Jul 08, 2018 5:38 pm

Re: This web address in datascience.com blog cause consuming all memory

Post by musonius »

In my Firefox configuration the memory consumption does not rise up with NoScript disabled. However, it rises tremendously fast with NoScript enabled and all restrictions disabled. And it rises up tremendously fast with a fresh profile without NoScript.

I am using Firefox 65 with NoScript 1.2.2rc2.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Post Reply