[XML-SIG] DOM memory problem

Bruce Jewell bruce.jewell at symmetron.com
Fri Jan 30 12:39:09 EST 2004


All,
	I am a newb to Python and I have been getting data from xml files.  I am
tyring to read an xml file using the PYXML scripts on my XP machine.  The
script starts something like this.

	import sys
	from xml.dom.ext.reader.Sax2 import FromXmlStream

	doc = FromXmlStream(sys.stdin)

	this is straight out of the O'Reilly book Jones/Drake, assuming this is the
Drake.  My problem is that this threw an exception IOError:[Errno 12]Not
enough space.  I have a 512 MB of memory, of which 100 MB of physical memory
is available.  The file is about 105k and when I got the error i reduced it
to 17k. Can anyone help ?

Thanks,
Bruce Jewell
Symmetron, Inc.




More information about the XML-SIG mailing list