Have you tried different browsers? Google Chrome? Firefox, Opera, Safari, Brave..some browsers eat your memory and will crash the computer and 8 Gigs isnt that much. I have 32 gigs and even that at times crashes. On the other hand, crashing is a Microsoft forte.
Yes. I have the same issue in MS Edge, Firefox, and Brave.
Firefox had tab crashing trouble a few versions ago , but it’s all right now , over ,LOL
Chrome is even worse with 10. It crashes Windows Explorer constantly. I uninstalled it. Firefox crashes intermittently.
If you haven’t already done so, download the HP Support Assistant from the HP website, then run it. I had a similar problem on a new system at work. Turned out to be the biosand several drivers were out of date and wouldn’t run the latest MS update.