Open abdallhfattah opened 4 months ago
Which browser are you using? This might be the same issue as #110.
Which browser are you using? This might be the same issue as #110.
iam using brave , i have also tried this from edge and it was the having the same issue. you may want to clean the last window and only save the answer of the user. it seems like questions are getting on top of each other thus leading to memory issue
URL to the section(s) of the book with this problem: https://rust-book.cs.brown.edu/ch06-04-inventory.html
Description of the problem: answering a question add something to memory and it keeps getting larger , Since my laptop 8GB of RAM, it couldn't handle 4.5GB for browser tab so it kept on crashing on the last question as it accumulates to this consumption , it seems like question are not being dropped from memory as they interactive , in short the more answers you answer the more memory consumption
Suggested fix: the questions has to be separated in the new in-browser IDE as they load them self in the memory but never leaves i think unless you finish all the question and then they accumulate on each other