tuyafeng / Via

Via is a simple browser, and this repository is set for localization.
3.12k stars 328 forks source link

Crash when viewing web twitter #691

Open BenSYZ opened 3 years ago

BenSYZ commented 3 years ago

When I was browsing twitter, the software would crash. I don’t know if it’s because the page size is too big because of too much scrolling, or because I clicked on a user, and in that user’s tweet, I clicked on another user, similar to pushing too many stacks. I prefer the latter reason.

tuyafeng commented 3 years ago

Ok, I will check again.

BenSYZ commented 3 years ago

It seems that the page is too big and ran out of RAM, causing a crash. I found that my RAM was only a few hundred megabytes during a freeze. After killing Via, it returned to 1.5G. I take back the previous guess. Also, it seems that when I click a link and go to the new page, the old site is still in RAM. This may allow us to return to the previous page quickly, but the problem is that it may run out of cache.

tuyafeng commented 3 years ago

"Go back without reloading" does cause some ram consumption. If your device has insufficient memory, you can turn off this feature in "Settings-Advanced".

BenSYZ commented 3 years ago

OK, I will try this. Thanks.