I dev in UE4 on a laptop with 16 gb of ram and a GTX 970m, but even then it’s hitching when I open up my more complicated projects. Definitely has a hard time opening up Epic’s AAA example projects like Kite Demo; which has a long project open time (5 minutes +), and that scene chugs my laptop to a halt. Beyond that, however, performs just fine. You’ll definitely be keeping your scenes small either spatially or graphically.
I recommend to have at least 16 gb ram or you’ll have a hard time running creative applications in tandem (in most cases, I have UE4, blender or 3ds max, photoshop, and substance painter all running at once (in this case it’s just ue4 and chrome )). It’s absolutely paramount you can have at least 2 programs running or you’re really choking your dev time; if you’re just starting out, you’ll burn out on learning too.
Ue4 tends to eat ~2 gigs of ram when the editor is idle in a simple scene. It ups to ~3 gb when in play mode and scripts are running SO if you can’t afford more than 8 gb ram, then you’re probably safe.