RAMs and CPUs determine the smooth running of Minecraft. Any kind of compromise on those accessories will make the game laggy, especially when you are not getting proper FPS.