"starki78" <[EMAIL PROTECTED]> wrote on 01/14/2007 12:17:54 PM:

> Thanks for your reply.
> Yes it is true there are lots of different
> String used!
> 
> I see that there is a rehash function
> for optimizing the access to
> the table to store strings in Version.
> 
> Do you think this could reduce the memory-usage?

No. It just redistributes the strings over a larger table.

> Do zou recommend to upgrade?

Xerces 2.2 is over four years old. You should move up to the latest 
release. In addition to containing many bug fixes and performance 
improvements, it comes with a new parser configuration (see 
SoftReferenceSymbolTableConfiguration [1]) which uses a memory sensitive 
SymbolTable. The internalized strings stored in this SymbolTable are 
softly reachable and may be cleared by the garbage collector in response 
to memory demand.

> Nice greetings
> Starky

[1] http://xerces.apache.org/xerces2-j/faq-xni.html#faq-3

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

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

Reply via email to