Hmmm... Maybe I'll debug this later... but I tried your code and got this...
Physical Memory:
DIMM 1: 512MB Unknown
DIMM 2: 512MB Unknown
DIMM 1: 512MB Unknown
DIMM 2: 512MB Unknown
DIMM 3: 1GB Unknown
DIMM 4: 1GB Unknown
Total: 4GB
The total is correct, and there are six DIMMs installed. But it only goes up to 4.
I doubt you can correct this but if I find the problem I'll let you know.
