luispedro/BuildingMachineLearningSystemsWithPython

Execution killed

Closed this issue · 2 comments

Hi! Thank you for create the book, I'm using it and I find it awesome! But I'm getting a problem with ch05/so_xml_to_tsv.py, at some point the execution gets killed because the huge amount of memory that it's using (with a 16GB RAM pc). I'll try to see which objects are creating this problem and maybe fix the issue, so, I'll keep you informed.

The problem was that I used an old modification of yours:

if creation_date.year < 2011:
    continue

So, using this the root object doesn't get cleared. it is advisable to perform:

root.clear()

before every continue .

Thanks for pointing this out, @josemazo! We will fix this in the 2nd edition.