[graph-tool] Memory requirement estimate for a large graph
Tiago de Paula Peixoto
tiago at skewed.de
Mon Jul 6 15:58:45 CEST 2020
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 <tiago at skewed.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the graph-tool