I am *very* suprised of this thread given that I have reported several times in the pharo mailing lists that XML DOM parsing is not the right solution for processing large XML files.
XMLDOM parsing is not even adequate for files larger than 10 Mbytes. Why some people insist using it?
The XMLPullParser is the right way to go.
Cheers,
Hernán
2014-06-11 12:01 GMT-03:00 Serge Stinckwich serge.stinckwich@gmail.com:
hum, you are right, I have to think how to reduce the footprint of my model creation ... I don't have time to wait for Spur ;-)
On Wed, Jun 11, 2014 at 4:53 PM, Tudor Girba tudor@tudorgirba.com wrote:
I see. But, I think your problem is of a different nature given that you said that it went to 1.9 Gb :)
Doru
On Wed, Jun 11, 2014 at 4:38 PM, Serge Stinckwich serge.stinckwich@gmail.com wrote:
On Wed, Jun 11, 2014 at 4:22 PM, Tudor Girba tudor@tudorgirba.com wrote:
I am not sure I understand.
The issue is not the XML loading at all. Instead, it seems to be in the code that produces the model out of the DOM tree.
Yes, you are right.
In this case, why would you look for the PullXMLParser?
Saving some memory space for my model ;-)
-- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow"
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/ _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev