cognitive-engineering-lab / rust-book

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

Warn about the resource usage of the Ownership Inventory more clearly #99

Closed musjj closed 11 months ago

musjj commented 1 year ago

The article already warns that:

Each instance of the IDE appears to take around ~300 MB.

But I don't think this warning is dire enough as to how much memory it's going to actually consume. This is how much memory it ended up consuming in the quiz result view (on Firefox).

2023-06-27T17:41:04 It completely froze my 4GB RAM potato when I did the quiz. I recently upgraded to 16GB and even then it struggled (it started swapping even though I'm not running anything but the browser).

willcrichton commented 1 year ago

12GB! Oh no. I'll up the warning... and see if I can figure out why it's causing such resource usage.