Am 01.10.2005 um 01:27 schrieb Theodore H. Smith:
From: Stefan Pantke <seaside dot ki at mac dot com>
Date: Fri, 30 Sep 2005 23:26:35 +0200
I tried to parse an 1,8 GByte XML file using XMLReader. The app
crashes within
seconds.
Isn't XMLReader designed to read the source file in chunks and
process them
step by step?
Is XMLReader itself crashing, or *your* code?
The app crashes and the Apple's bug report shows 'plugin' as
focus of control [RB 5.5.].
But
myXMLReader.Parse( myXMLFile )
should not.
I feel, that XMLReader isn't loading the 1,8 GByte source in
chunks, but loads the whole file and then tries to parse.
Another RB lib routine which strongly feels like 'Well, don't care about
details, just implement it using a quick hack. People will
find the detail and work around...'.
Great feature for an event driven parser :-(
It's really fun, whatever lib I use the first time, I a first bug
or inconsistency within 24 hours of coding.
Meanwhile I changed MY code to read chunks and feed them
step by step in the reader.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|