Having issue with 4gb Nvidia cards in windows not having enough memory to create the DAG. Its not a virtual memory error
Same here as follows:
GeForce GTX 1050 Ti (pcie

, CUDA cap. 6.1, 4 GB VRAM, 6 CUs
==>GeForce GTX 1050 Ti: CUDA error in CudaProgram.cu:407 : out of memory