You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Dawid Weiss (Jira)" <ji...@apache.org> on 2020/08/20 09:58:00 UTC

[jira] [Commented] (LUCENE-9471) Gradle leaves behind junk temporary files

    [ https://issues.apache.org/jira/browse/LUCENE-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181082#comment-17181082 ] 

Dawid Weiss commented on LUCENE-9471:
-------------------------------------

Each gradle forked JVM leaves a classpath file in user's temp. These accumulate over time. [~mikemccand] had about a bazillion of them.

The related Gradle issue is fairly simple to see -- the temporary file is just never cleaned up.
https://github.com/gradle/gradle/issues/12020

I suggest to provide a workaround for this in the form of redirecting "java.io.tmpdir" Gradle's JVM to a project-local junk folder. At least it's local then and perhaps can be cleaned up by clean, periodically?

> Gradle leaves behind junk temporary files
> -----------------------------------------
>
>                 Key: LUCENE-9471
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9471
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Major
>




--
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