Adding memory was one of the most frustrating experiences as a new iMac owner. I bought the 8GB RAM 2017 5K iMac so it has two DIMMs installed in slots 1 and 3 (slots 2 and 4 were empty). I had a 32GB memory kit from Crucial. I wanted 40GB but up until the early hours of Saturday morning, I didn't think that I could achieve this. Things finally fell into place after a few hours of trying various configurations out.
In terms of slot numbering, I'm assuming slot 1 is the lowest slot in the memory bay and slot 4 is the highest slot.
Slot 4 - empty
Slot 3 - 4GB Apple DIMM
Slot 2 - empty
Slot 1 - 4GB Apple DIMM
My first issue was a total lack of Apple-verified information available on the Internet into which slots to use for expanding the memory. As things would pan out, leaving the Apple installed 4GB DIMMs in slots 1 and 3 was best. It took a couple of calls across two days with Apple to get towards the right path, who ended up giving me slightly incorrect information.
I used Geekbench 4 to get some system and memory benchmarks as I tried various configurations.
These combinations did not work for me (iMac would not boot)
40GB
Slot 4 - 4GB Apple DIMM
Slot 3 - 16GB Crucial DIMM
Slot 2 - 4GB Apple DIMM
Slot 1 - 16GB Crucial DIMM
40GB
Slot 4 - 4GB Apple DIMM
Slot 3 - 4GB Apple DIMM
Slot 2 - 16GB Crucial DIMM
Slot 1 - 16GB Crucial DIMM
These combinations worked but memory performance was poor
40GB
Slot 4 - 16GB Crucial DIMM
Slot 3 - 16GB Crucial DIMM
Slot 2 - 4GB Apple DIMM
Slot 1 - 4GB Apple DIMM
These combinations worked at maximum performance
8GB
Slot 4 - empty
Slot 3 - 4GB Apple DIMM
Slot 2 - empty
Slot 1 - 4GB Apple DIMM
32GB
Slot 4 - empty
Slot 3 - 16GB Crucial DIMM
Slot 2 - empty
Slot 1 - 16GB Crucial DIMM
40GB
Slot 4 - 16GB Crucial DIMM
Slot 3 - 4GB Apple DIMM
Slot 2 - 16GB Crucial DIMM
Slot 1 - 4GB Apple DIMM
In terms of slot numbering, I'm assuming slot 1 is the lowest slot in the memory bay and slot 4 is the highest slot.
Slot 4 - empty
Slot 3 - 4GB Apple DIMM
Slot 2 - empty
Slot 1 - 4GB Apple DIMM
My first issue was a total lack of Apple-verified information available on the Internet into which slots to use for expanding the memory. As things would pan out, leaving the Apple installed 4GB DIMMs in slots 1 and 3 was best. It took a couple of calls across two days with Apple to get towards the right path, who ended up giving me slightly incorrect information.
I used Geekbench 4 to get some system and memory benchmarks as I tried various configurations.
These combinations did not work for me (iMac would not boot)
40GB
Slot 4 - 4GB Apple DIMM
Slot 3 - 16GB Crucial DIMM
Slot 2 - 4GB Apple DIMM
Slot 1 - 16GB Crucial DIMM
40GB
Slot 4 - 4GB Apple DIMM
Slot 3 - 4GB Apple DIMM
Slot 2 - 16GB Crucial DIMM
Slot 1 - 16GB Crucial DIMM
These combinations worked but memory performance was poor
40GB
Slot 4 - 16GB Crucial DIMM
Slot 3 - 16GB Crucial DIMM
Slot 2 - 4GB Apple DIMM
Slot 1 - 4GB Apple DIMM
These combinations worked at maximum performance
8GB
Slot 4 - empty
Slot 3 - 4GB Apple DIMM
Slot 2 - empty
Slot 1 - 4GB Apple DIMM
32GB
Slot 4 - empty
Slot 3 - 16GB Crucial DIMM
Slot 2 - empty
Slot 1 - 16GB Crucial DIMM
40GB
Slot 4 - 16GB Crucial DIMM
Slot 3 - 4GB Apple DIMM
Slot 2 - 16GB Crucial DIMM
Slot 1 - 4GB Apple DIMM