On 18.01.2018 06:05, Evangelos Petsalis wrote:
> I understand that it returns an iterator, but I assume it still does some
> preparatory work internally that potentially allocates memory.
> I don't do any list conversion. I simply call the function without even
> assigning the output to any local variable.
>
> The error message I get is as follow:
>
> Traceback (most recent call last):
> File
> "/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py",
> line 2862, in run_code
> exec(code_obj, self.user_global_ns, self.user_ns)
> File "<ipython-input-3-07c125e74096>", line 1, in <module>
> all_shortest_paths(g, v_start, v_dest, ep["sp_weight"], epsilon=10)
> File "/usr/lib/python3/dist-packages/graph_tool/topology/__init__.py",
> line 1978, in all_shortest_paths
> _prop("v", g, all_preds_map))
> MemoryErrorAs usual, without a minimal and self-contained (i.e. complete) example that shows the problem, it is not possible to say anything. An error message without any context is not very useful. -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
