Question: are all rams the same size?
Answer: Newer types of RAM are updated versions of the same technology, hence why RAM modules carry the label of DDR, DDR2, DDR3, and so on. While all RAM generations are exactly the same physical size and shape, they still aren't compatible. You cannot use DDR3 RAM in a motherboard that only supports DDR2.