java - Writing a parser which deals with big XML files, how to encapsulate data of downloaded files? -
i'm developing parser deals big xml files, can 100 files constantly, , every file around 15mb. parse using xom library.
at beginning made decision upon downloading convert string
, later understood wrong. first of convert later inputstream
, parsed xom , second reason java string pool so, every xml file double amount of memory uses.
but doubt right store downloaded data in inputstream
? possible there're approaches don't know about?
thank you.
Comments
Post a Comment