lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: [jira] Commented: (LUCENE-686) Resources not always reclaimed in scorers after each search
Date Tue, 17 Oct 2006 18:32:23 GMT

: But as long as there is no real a memory leak, what is the point of
: adding this close functionality?

I think the concern is not so much that Lucene core as is has any leaks --
but that subclasses of core implimentations have no mechanism for safely
managing resources.  Custom Directory implimenations that rely on close()
or custom Scorers that try to do anything complex involving external
resources would have leaks of whatever resource they need to explicitly
manage.




-Hoss


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


Mime
View raw message