[XOM-interest] Fwd: Very high main memory consumption on compression level higher then 0
Martin Schaaf
ms at 101tec.com
Thu Jun 19 08:12:04 EDT 2008
Soory for the private mail.
Anfang der weitergeleiteten E-Mail:
> Von: Martin Schaaf <ms at 101tec.com>
> Datum: 19. Juni 2008 14:10:45 MESZ
> An: Wolfgang Hoschek <wolfgang.hoschek at mac.com>
> Betreff: Re: [XOM-interest] Very high main memory consumption on
> compression level higher then 0
>
>
> Am 18.06.2008 um 21:49 schrieb Wolfgang Hoschek:
>
>> The native java.util.zip.Deflater/Inflater are used if the
>> compression level is non-zero. Does the high mem usage go away if
>> you reuse the same _binaryXMLCodec instance for all documents? If
>> so, it probably has something to do with the Deflater and/or
>> Inflater leaking memory or their finalizer not being called in time.
>
> Synchronizing the access to the binaryXmlCodec object helped. Now I
> will run the tests to see if it helps to prevent the high memory
> usage.
>
> Thanks,
> martin.
More information about the XOM-interest
mailing list