Maximum Recursion Depth exceeded with large table

Issue #9 new
Adrian Mc created an issue

Hi, I have installed sas7bdat 2.0.4 and tried it on some small tables (<10MB in size) and it appears to work perfectly.

rows = 0
with SAS7BDAT('mytable.sas7bdat') as f:
    for line in f:
        rows = rows + 1
print rows

I then tried on a 4.5GB table but I got a Runtime exception saying:

maximum recursion depth exceeded

I have attached the traceback from an IPython notebook.

Let me know if you need any more detail.

I don't know if you would consider this a major bug, but that was the default priority on the issue tracker, so I went with it :)

Regards, Adrian.

Comments (1)

  1. Jared Hobbs repo owner

    Can't really tell what's wrong from the traceback. Looks like the file has some problems. Try to generate a smaller file that hits this bug and we can try to fix it from there.

  2. Log in to comment