Is it even theoretically possible to handle something like Graph(10^10)?
That will crash at the line
memset(self.vertices, <int> NULL, nverts * self.hash_length *
Before that we have
sig_malloc(nverts * self.hash_length * . . .
if not . . .
raise RuntimeError("Failure allocating memory.")
but due to overcommit there is no exception raised. Setting (as root) the
value of /proc/sys/vm/overcommit_memory will not help, but may change
error message given.