Hello,

I am using progressive sax parser to parse an incoming and potentially
very long tcp stream (with my own input source class).

In pseudo code this would look like this, of course:
        parser.parseFirst (input_source, token)
        while (! end of stream) {
                if (! parser.parseNext (token))
                        break;
        }

I assumed that the memory usage at each loop iteration should
remain more or less constant, since in the SAX model all is done
in callbacks, but the memory footprint keeps growing until the loop
is over and parser goes out of scope.

Is my understanding wrong?  Is there a way to force the parser
to clean up?

Thanks,
AZ

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to