Am 06.07.20 um 15:53 schrieb Carlo Nicolini: > Many thanks Tiago for the quick answer. > > I've tried (using `htop` command) to measure the RES memory requirement > for such a graph with 1M nodes and 100M links, but the results is almost > twice the size, a total of 6.2 GB. > Is there a reason why I get that figure?
Hard to say without a minimal working example. Try saving the network to disk, and loading it again from a newly started interpreter. I tried on my machine, and I got 4.5 GB. As I explained, std::vector<> may over-commit the allocations. -- Tiago de Paula Peixoto <ti...@skewed.de>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool