This question already has an answer here:
I keep going back and forth between Ubuntu and Windows 10. I want to use Ubuntu for good but I keep getting two main problems. Here's the worst one that happened yesterday.
Once in a while, Unity freezes completely. My mouse doesn't move or anything. This is on a 2 days old install. Everytime that happens, I don't even have access to a TTY. So I'm forced to turn off the computer with the power button. Yesterday though, Ubuntu didn't like it. When I started my computer, I was greated with a blinking cursor. Grub didn't start. I even tried reinstalling Grub from a live DVD but that didn't work. So I had to reinstall everything.
That being said, I'd like to get this freezing problem solved.
At first I thought it might have been Chrome using up all my 4 GB of RAM. So I installed an extension to shut off all my inactive tabs. But when it froze yesterday I had one or two tabs and Firefox opened with 3 tabs. Normally, on my Windows install, I never have any issue. Right now, I have Android Studio running and am writing this from Chrome with 10 active tabs opened. So that's not the problem.
I thought it may have something to do with my graphic card. I have some issues with it. It's an Intel. On Ubuntu but mostly on Ubuntu Gnome and LinuxMint, once in a while, the screen goes completely black for a split second, usually when I'm using the terminal. Also, my computer becomes a lot hotter on Ubuntu than on Windows when the lid is closed.
Oh and this happens with swappiness at 60, 10 or 0.
Anyone know what I can do to solve this? I my computer is a laptop, HP EliteBook 8440p with 4 gb or RAM.