Gareth,

On Wed, 20 Oct 2004 10:11:48 +0100, Gareth Reakes
<[EMAIL PROTECTED]> wrote:
> Three options spring to mind:
> 
> i) Clone the document into another document and release the first
> (although memory consumption is still an issue with 2 docs in memory)
> ii) Implement the release
> iii) Implement a new memory scheme that actually allows releasing of memory.
> 
> iii is the most interesting :) I have thought about it in the past, but
> its a lot of work. I would stick with ii, its not too much work and its
> fairly strait forward. I would be happy to give you some pointers if you
> get stuck.
I've tried option 1 and it's at least 3-4 times slower.  Would you
give me details and pointers on how to implement option 2?  Not sure
what you meant by implement the release, since release() for the
DOMTreeWalker is already implemented.  Any open source projects you
would recommend as a good working example of how Xerces should be
used?

Thanks
Hua-Ying

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

Reply via email to