*8gb ram recommended by me. Buy a core i processor, like i5. Upgrade to Win 10, and buy a dedicated graphics card. Ram is not that necessary that much. Graphics and processor matters most.
Requirement for minecraft is 4GB but I would go to 8gb so 4gb for minecraft 4gb for the OS or windows