Skip to content

DefaultDownloadManager: temp file leak via deleteOnExit() accumulation #98

Description

@elharo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions