You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "lujie (Jira)" <ji...@apache.org> on 2021/10/04 11:53:00 UTC

[jira] [Updated] (LUCENE-10144) Resource Leak due to Files.list

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

lujie updated LUCENE-10144:
---------------------------
    Description: 
See [https://github.com/apache/lucene/blob/d5d6dc079395c47cd6d12dcce3bcfdd2c7d9dc63/buildSrc/src/main/java/org/apache/lucene/gradle/datasets/ExtractReuters.java#L48]

Files.list will open dir and we should close it.

  was:
See [https://github.com/apache/lucene/blob/d5d6dc079395c47cd6d12dcce3bcfdd2c7d9dc63/buildSrc/src/main/java/org/apache/lucene/gradle/datasets/ExtractReuters.java#L48]

Files.list will open dir and we sould close it.


> Resource Leak due to Files.list
> -------------------------------
>
>                 Key: LUCENE-10144
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10144
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: lujie
>            Priority: Major
>
> See [https://github.com/apache/lucene/blob/d5d6dc079395c47cd6d12dcce3bcfdd2c7d9dc63/buildSrc/src/main/java/org/apache/lucene/gradle/datasets/ExtractReuters.java#L48]
> Files.list will open dir and we should close it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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