[jdom-interest] RE: Memory and Speed problems with SAXBuilder
Laurent Bihanic
laurent.bihanic at atosorigin.com
Fri Feb 28 02:56:46 PST 2003
Malachi de AElfweald wrote:
> I can't downgrade the JVM. How would I upgrade to a newer version? CVS?
Yes, unless Jason decides for a quick code freeze for a beta9.
Jason, what's your current view on the beta9 planning ?
Laurent
>
> Malachi
>
> On Thu, 27 Feb 2003 10:47:27 +0100, Laurent Bihanic
> <laurent.bihanic at atosorigin.com> wrote:
>
>>
>> Hi,
>>
>> Malachi de AElfweald wrote:
>>
>>> Worst performer was SAXBuilder (which I originally used because we
>>> were building from
>>> an InputStream). Also, SAXBuilder was the ONLY one that required the
>>> huge amount of
>>> heap space.
>>
>>
>> You are probably using JDOM beta8 with JDK 1.4.1. These two are
>> incompatible due to the memory leak bug in StringBuffer introduced in
>> JDK 1.4.1.
>> For more information, please see
>> http://developer.java.sun.com/developer/bugParade/bugs/4724129.html
>>
>> Sun does not plan to fix this bug until JDK 1.5 (Tiger).
>>
>> To fix this problem, you have 2 solutions:
>> 1. Stick to JDOM beta8 but downgrade to JDK 1.4.0 or 1.3.1
>> 2. Stick to JDK 1.4.1 and upgrade to the latest JDOM which includes a
>> workaround for the JDK bug.
>>
>> Laurent
More information about the jdom-interest
mailing list