I have absolutely the same problem. It seems to me that this is due to the restriction function of RAM\CPU, I think the developers need to look in this direction. For example, make programmatic ignoring RAM restrictions when closing the browser so that it can easily manipulate RAM at the time of closing the browser and preserving all spaces.
It's very awful problem, I really think about changing the browser because of this.