@sonney2k weird that when I tried constructing a SGSparseMatrix<complex64_t> using the earlier approach separately, it did not report any memory errors!