I have the same problem. gminer 1.25 works on my MSI notebook with two 1070s. On my rig with seven 1070s, I get the "out of memory error" unless I restrict the GPUs to devices 5, 6 and 7. I'm using Cuda 10 drivers 411.31 on the notebook and 417.35 on the rig. Does anyone have the problem with Cuda 9.x drivers?
The swap file must be increased to 40-48GB