cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
504 stars 82 forks source link

Opera GX Chapter 4.1 memory leak #110

Open Bokayy opened 11 months ago

Bokayy commented 11 months ago

URL to the section(s) of the book with this problem: https://rust-book.cs.brown.edu/ch04-01-what-is-ownership.html

Description of the problem: Once I open the page in opera GX, my memory usage from the thread controlling the tab on which the site is open starts hogging memory progressively. I can scroll but just a part of the page loads. The scroll bar stays static. I have turned my extensions on and off, confirming they aren't the problem. The bug isn't happening in chrome, I haven't tried on a fresh install of the browser. Eventually it comes to multiple gigs of usage and gets nuked by Opera.

Suggested fix: ¯\(ツ)

willcrichton commented 11 months ago

Can you let me know if the memory leak also happens in the Rust Analyzer WASM demo? https://ra-wasm.netlify.app/