You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/07/05 11:22:14 UTC

[I] DefaultDownloadManager: temp file leak via deleteOnExit() accumulation [maven-shared-io]

elharo opened a new issue, #98:
URL: https://github.com/apache/maven-shared-io/issues/98

   ## Bug #16
   
   `DefaultDownloadManager.java` line 110
   
   Each call to `download()` creates a new temp file and registers it with `deleteOnExit()`. Over many invocations this causes the `java.io.DeleteOnExitHook` map to accumulate entries, which can lead to a memory leak and degraded JVM shutdown performance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] DefaultDownloadManager: temp file leak via deleteOnExit() accumulation [maven-shared-io]

Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo closed issue #98: DefaultDownloadManager: temp file leak via deleteOnExit() accumulation
URL: https://github.com/apache/maven-shared-io/issues/98


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org