Skip to content
TORNLIFE More

Memory leak - Chrome and Chromium based browsers

Started by DIO [2159252] on in Bugs & Issues.

15 replies · 196 views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 16 / 16 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
16
Discussion span
→
People posting
10
Likes on archived posts
4
Posts by staff, officers and moderators
1
Authority score
60 / 100
Historical score
45 / 100
Story score
50 / 100
Engagement score
58 / 100
DIO [2159252]

I'm experiencing a huge memory leak. It's targeting mainly my CPU and GPU. I am having memory leaks every few seconds (2~4 seconds). More than 10 torn tabs (or maybe fewer than that) is more than enough enough to use 8 cpu clocks, 100% cpu and push the CPU temperature to 91ºC-196ºF. In just a couple minutes.

It's not even close to the biggest memory leak I had on Torn recently, but I don't have any data about the other one. My computer freezed for some good minutes during the biggest ones. Tested on both Opera (chromium based) and Google Chrome. As "Guanying" stated almost 4 years ago (first linked thread bellow), extensions aren't making any difference, it's javascript related. Everything runs fine if I block javascript on Torn. 

It's also affecting my GPU usage heavily, but it doesn't have a huge effect on GPU temperature.

RAM core clock, memory clock and usage are also being affected. 

Screenshots: https://imgur.com/a/eesFV9g

 

Related issues:

https://www.torn.com/forums.php#/p=threads&f=19&t=15916860 07/09/14 (4 years ago)

Kapten_Klitoris is also experiencing memory leaks: https://www.torn.com/forums.php#/p=threads&f=19&t=16061204 (2 hours ago)

Mentions: Memory Leak? (Chrome) · RAM leaks during elimination

DIO [2159252]

More screenshots for comparison.

Some software running in the background, low computer use. https://imgur.com/a/wypViyh

Google test. 10 tabs open on the google search page for "google", uBlock origin extension running. Idle. https://imgur.com/a/r0LwLin

I've closed Chrome, waited some minutes, and did another test.

Torn. Screenshots took 10 minutes after opening 10 torn tabs (except for the event one, it was taken only 1 minute after opening Chrome). Idle. After opening 10 tabs, I've asked Kapten_Kliptoris to send me $1. She them sent me 7x $1, starting 8:57:11 PM and ending at 8:57:38 PM. Leak got progressively worse, constantly reaching the 80ºC-176ºC CPU temperature mark after some time. Note: the google and facebook subframes aren't running tabs, just some scripts being run by Torn. https://imgur.com/a/NlbeV2I
DIO [2159252]

Test made with 20 elimination tabs open. Idle, Chrome window wasn't active. The "min" and "max" values have been reset for the next tests. It quickly peaked at 94ºC (201ºF) during this one, reaching 90ºC every few seconds. https://imgur.com/a/KZke7bv

[image: i.imgur.com]

 

I then tried to open more elimination tabs. Windows froze when I tried to open the 23th tab. Chrome started to consume 100% RAM. CPU and GPU use dropped. Windows started to lag and Chrome crashed after a while. https://imgur.com/a/IcvrVwE

[image: i.imgur.com]

I'm done testing for a while. Waiting for the fix.
DIO [2159252]

No. First time I experienced this bug was around 30 days ago (during my first week playing Torn). I was attacking one user, but I've lost the fight. Getting hospitalized caused 100% RAM use and would freeze my computer (I also experienced this same issue (getting hospitalized = lag) recently 'cause of the elimination event). I think it's caused by a lot of javascript requests at the same time. Elimination page is always making requests every few seconds. If your status suddenly changes to "hospitalized" (and your life to 1), won't your browser receive a lot of javascript requests suddenly (this number also being multiplied by the number of game tabs you have open)? There was also a 0~2 second delay between event and 100% RAM usage everytime I experienced it. I couldn't test it with the event of being jailed.

This graph and high CPU usage is experienced in every page, if javascript is running. The more requests, the worse it gets. I guess elimination and hospital pages are only heavier than the other ones. 
LordSam [1900989]

i dont know the technicality .. but, YES. I experience a heavy CPU usage .. and system holds still for a few seconds. I use faction page, crime and gym mostly.

thought, i should also confirm about this. (Googled the trouble.. and it indicated a memory leak which OP has done testing  in a very detailed manner.
MightyGoober [812478]

I actually also get large spikes on Chrome. Not sure when or what I'm doing but this is defiantly affecting more than just OP.

Safari on a mac laptop running OSX, reports Torn is "using a significant amount of battery" when a single tab is open. No other website I use does this
oraN [1778676]

idk if my issues is related but, 

after out of the blue my MBP experiences lag when I ONLY have like 5 Tabs open on Safari

it never happens when I do something else. oh and having BRACKETS and ATOM open alongside, Torn becomes unplayable 
svyat770 [2114355] Tester
Hi there!

If the problem still persists we need to know how exactly it reproduced. Could someone show us a video with the relaited bug?

Thanks.
Stewie [1494547]
OP has been inactive for 18 days, and no-one else has responded with any further information. I think we can close this for now. If anyone else is experiencing issues, they can create a new report.

Thanks.