Which phone configuration is better? I want to buy Moto G4 Plus phone but I am confused as they are giving us two configurations.

1) 3 GB RAM with Snapdragon 617 Octacore 1.5GHz processor and 32 GB ROM

2) 4 GB RAM with Snapdragon 617 Octacore 1.5GHz processor and 64 GB ROM

As I searched it on Google everyone is saying that the combination of RAM and Processor always matters.High RAM and Lower processor or vice versa doesn't give us better performance.

So my question is which configuration is better? why?
Enough amount of ram but your first priority must be processor, GPU and chipset .
Of course, Ram should be good for seamless performance .
Go with always snapdragon SOC, for good performance and gaming..
Hope that helps..

My devices:
Moto g
Redmi note 3
One plus 3