Skip to content

Execution killed #2

Closed
Closed

Description

@josema-xyz

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.

Activity

  1. josema-xyz commented on Dec 19, 2013

    @josema-xyz
    Author

    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 .

  2. wrichert commented on Jul 17, 2014

    @wrichert
    Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions