supaphon / ticpp

Automatically exported from code.google.com/p/ticpp
0 stars 0 forks source link

Concern regarding memory usage #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Sorry for putting this as an issue but i've found no information regarding
how the XML files are parsed/loaded.

How it does work if I have a very-big XML file? (10Mb, 100Mb,?)

Original issue reported on code.google.com by sorin.sb...@gmail.com on 3 Feb 2008 at 7:02

GoogleCodeExporter commented 8 years ago
It uses DOM which loads the entire xml into memory. Hope this helps.

As far as large files I have only tested on many 1Mb files loading from the same
application. I would thing that if the file is 100Mb it will take at least 
100Mb of
memory.

Others can step in and give there thoughts.

Original comment by rpusz...@gmail.com on 26 Jun 2008 at 3:40

GoogleCodeExporter commented 8 years ago

Original comment by rjmy...@gmail.com on 8 Jul 2008 at 12:08