The first computer I had was a VIC-20. That machine had 11 1K*4 chips inside. That's 5KB plus an additional 1KB of 4-bit RAM for colors. I bought a 24KB RAM expander in 1983 for about $149. It used 24 2K*8 chips.
The Commodore-64 used 8 64K*1 chips. Interestingly, the BASIC free memory function used 16-bit signed arithmetic, so when you started it, you'd get something like:
COMMODORE 64 BASIC V2
64K RAM SYSTEM-24577 BYTES FREE
READY.
(that's actually 40K-1 bytes)
One of the first BASIC-modification programs I wrote changed the LET command to MOO. Entering MOO would get you "I'm a computer, not a cow." (you might notice the connection with Star Trek). Another one would change the error messages in this sequence:
A RABBIT IN LINE 20
2 RABBITS IN LINE 30 4 RABBITS IN LINE 10 8 RABBITS IN LINE 40 16 RABBITS IN LINE 20 32 RABBITS IN LINE 30 64 RABBITS IN LINE 10 128 RABBITS IN LINE 30 TOO MANY RABBITS IN LINE 20