statnet / latentnet

Latent Position and Cluster Models for Statistical Networks
http://www.statnet.org
Other
19 stars 6 forks source link

Error: cannot allocate vector of size 2.0 Gb #9

Closed shangyuan232 closed 2 years ago

shangyuan232 commented 2 years ago

Hi Pavel, I'm processing a bipartite network object converted from a 14000x9000 matrix. When I was running net.fit <- ergmm(net~euclidean(d=2)), it showed Error: cannot allocate vector of size 2.0Gb, then I increased the memory limit to 100,000, it showed Error: cannot allocate vector of size 3.9Gb after 3 hours. I increased the memory limit again to 1,000,000, it showed Error: cannot allocate vector of size 2.0Gb again after 4 hours.

What's the maximum network size that latentnet can process? Is there any way to get rid of the above error and make the calculation faster?

Thanks!