xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
[XOM-interest] Fwd: Very high main memory consumption on compression level higher then 0
- From: Martin Schaaf <ms AT 101tec.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] Fwd: Very high main memory consumption on compression level higher then 0
- Date: Thu, 19 Jun 2008 14:12:04 +0200
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.
-
[XOM-interest] Fwd: Very high main memory consumption on compression level higher then 0,
Martin Schaaf, 06/19/2008
- <Possible follow-up(s)>
- [XOM-interest] Fwd: Very high main memory consumption on compression level higher then 0, Martin Schaaf, 06/19/2008
Archive powered by MHonArc 2.6.24.