Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Assigned: (LUCENE-1326) Inflater.end() method not always called in FieldsReader

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Jul 4, 2008, 1:55 AM

Post #1 of 1 (138 views)
Permalink
[jira] Assigned: (LUCENE-1326) Inflater.end() method not always called in FieldsReader

[ https://issues.apache.org/jira/browse/LUCENE-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless reassigned LUCENE-1326:
------------------------------------------

Assignee: Michael McCandless

> Inflater.end() method not always called in FieldsReader
> -------------------------------------------------------
>
> Key: LUCENE-1326
> URL: https://issues.apache.org/jira/browse/LUCENE-1326
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 2.3.1
> Reporter: Robert Newson
> Assignee: Michael McCandless
>
> We've just found an insidious memory leak in our own application as we did not always call Deflater.end() and Inflater.end(). As documented here;
> http://bugs.sun.com/view_bug.do?bug_id=4797189
> The non-heap memory that the native zlib code uses is not freed in a timely manner.
> FieldsWriter appears safe as no exception can be thrown between the Deflater's creation and end() as it uses a ByteArrayOutputStream
> FieldsReader, however, is not safe. In the event of a DataFormatException the call to end() will not occur.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-dev-help[at]lucene.apache.org

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.