Wow, thanks for all the suggestions! I tried `lxml.iterparse()` with `clear()` and it’s *way* better—no more RAM explosions.
Still kinda slow though... anyone got tips on optimizing the loop?
Also, `xmltodict` looks interesting for smaller chunks—might give that a shot next.
Appreciate the help!
Still kinda slow though... anyone got tips on optimizing the loop?
Also, `xmltodict` looks interesting for smaller chunks—might give that a shot next.
Appreciate the help!
