How Many DIMM Slots Does a R640 Have?

The R640 is a 2U server that supports up to two processors. Each processor supports up to six memory channels, and each channel can support up to two DIMMs.

That gives the R640 a maximum of 384GB of memory using 64GB LR-DIMMs.

 Exclusive Slots & Free Spins Offers: 

The R640 also supports Intel Optane DC persistent memory modules (DCPMMs). DCPMMs are available in 128GB and 256GB capacities and can be mixed with traditional DDR4 DIMMs in the same server.

A 1U server with two processors can support up to four DCPMMs for a total of 1TB of Optane DC persistent memory.

So, in answer to the question posed, a Dell EMC PowerEdge R640 server has a maximum of 24 DIMM slots (12 per CPU).