matrix calculation error

前端 未结 3 1227
梦谈多话
梦谈多话 2021-01-29 05:22

I am using R tool to calculate SVD (svd(m)) and it works on small matrix but as I pass it 20Kx20X matrix. After processing, it gives the following erro

3条回答
  •  感动是毒
    2021-01-29 05:48

    Possibly the svd calculation itself also uses a lot of memory. If we compare to MATLAB, we see that the svd calculation allocates just as much memory as the matrix itself uses, so if you already ise 3GB of memory, the svd calculation possibly allocates another 3GB, which gives 6GB of memory.

提交回复
热议问题