I am having trouble finding an efficient solution (or any solution as a matter of fact) for enumerating cycles in a very large graph.
The graph has 1 million nodes and 1.25 million edges. I have tried using an algorithm from the NetworkX library, but the process was killed with exit code 137 (Python) after 24 hours.
I have also tried using Tarjan's algorithm described here, but this process has been running for 25 days on my server, with no results yet.
Are there any approaches you could recommend to find all cycles? Would using MapReduce help? Are there any other approaches for very large graphs?