roytam1 / basilisk55

Other
20 stars 5 forks source link

basilisk52 freeze on several sites #51

Open spyrosmas opened 4 months ago

spyrosmas commented 4 months ago

All basilisk52 versions. Sites like reddit, youtube and many others tax the system even when only one tab is open. CPU and memory goes up with no reason and javascripts stutter the redraw for minutes or hang. Sites like community.spiceworks.com and others show a dinosaur and require image validation or abort because they think the browser is too old, vertical bar is missing but page down and up keys works fine. The same youtube video embedded in a web page plays without issue. As I remember win32 api has automatic message driven loop for windows to redraw and/or you can you use PeekMessage in your code to check for messages on lengthy operations. Before calling memcpy() you can check the 3rd parameter if contain an unusual large memory buffer to transfer. Probably, continue to go that route handling lesser important things and you end up like the reactos that after 28 years it is an alpha stage of development and still hangs. I don't think that handling memory and javascripts is a rocket science as many other opensource projects, eg. browsers, Operating Systems and sites run smoothy on the same machine.