Jumper links. Or upgrade a 16K ZX-Spectrum to a 48K. Then slowly and evenly press the module into the sockets. Press down on the module circuit board rather than its components. Alternatively the upper RAM module can be soldered directly to the ZX-Spectrum PCB without the use sockets.
eBay