xml - Minidom on Python: memory issue -
xml - Minidom on Python: memory issue -
i'm using minidom on python parse xml file. understand it's slow process , takes substantial amount of memory. i'm using for-next loop. files happen large, i'm fine time takes parse first one. first 1 takes couple of minutes when looping , running same parse function, took 30 minutes so. must memory issue. there dump memory subsequent files don't take much longer?
example in python (excluding other things variable xmldoc 1 time it's parsed):
for filename in filelist: file = open(filename,'r') xmldoc = minidom.parse(file)
python xml minidom
Comments
Post a Comment