My first PC had 256 kB RAM, in my current I have 16 GB. What a motherboard can take is usually specified in the manufacturers web page for the motherboard model. How much you need depends on what programs you run. For gaming today 8 GB is recommended.
If I have misunderstood your question, please write more.
Nigel