

Hello,
Others have given good advice on narrowing down the issue. I’ll just say that I don’t think you’ll ever get stability with 8gb for win 11. Ubuntu is going to struggle sometimes with the 4gb left for it too.
I would look into upgrading the ram first. Old laptop ram can be very cheap. I doubled the memory in a laptop for my mom by adding a 16gb stick I got on eBay for $20.
If it has an empty slot just buy an exact copy of the module it has and it will probably work. If both slots are occupied you’ll have to do some research to find the correct modules and it might not be worth the money and hassle.
There are more detailed answers here and I don’t have any personal experience to add but just based on your question I would suggest you stop drinking entirely.
It doesn’t sound like you have a good relationship with alcohol. It isn’t something you share with friends or a “hobby” like wine or whiskey tasting. It sounds like something you just do kind of as a habit.
You aren’t an alcoholic… yet. If you could afford beer when it wasn’t on sale would you drink a lot more? If you had free access to infinite beer how much would you drink? It kind of sounds like the answer to those questions might be “A lot” which is bad.
It sounds like alcohol is already having a negative impact on your life. Do you agree with that statement generally? Skipping positive healthy things for a beer is pretty objectively bad.
Honestly just stop now while you can. Just stop buying beer. Even on sale it’s a waste of money. Nothing against you but this does read like a post someone would look back on and say “I was right and I should have stopped while I could.”
You have the freedom to do whatever you want but if you’re asking random internet strangers if you have a drinking problem the answer is almost certainly yes. Not a big problem but why take the chance? Alcohol just isn’t that great.