I am implementing the Kosaraju Strong Connected Component (SCC) graphical search algorithm in Python.
The program works fine on a small data set, but when I run it on a super-large graph (more than 800,000 nodes), it says โSegmentation Errorโ.
What could be the reason for this? Thank!
Additional information: First I got this error when working with a super-large data set:
"RuntimeError: maximum recursion depth exceeded in cmp"
Then I reset the recursion limit using
sys.setrecursionlimit(50000)
but got a "segmentation error"
Believe me, this is not an infinite loop; it works correctly with respect to relatively small data. Perhaps the program has run out of resources?
python segmentation-fault large-data
xiaolong Apr 05 2018-12-12T00: 00Z
source share