Dear Alex,
I have solved the memory issue by reducing the nwokers value but now the calculation takes a very long time. When I doubled the number of nodes and double the nworkers I get the memory problem again. Can you suggest to me how to speed up the calculation.