It should be okay. 4ram isnt generally good , 8ram is generally better, If you do not have many downloads on your computer and it is generally fast , You should be able to play minecraft properly without lag though. I could be wrong , Try play minecraft yourself to see.