Question: how much ram for 4k?
Answer: A minimum of 16 GB of RAM for HD is fine, but with 4K or 6K editing, that minimum rises to 32 GB or more. Data must be quickly accessible to both the CPU and RAM so storage speed is crucial. Otherwise, starving the CPU and RAM of data results in slow performance, no matter how fast those other components are.