You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (Jira)" <ji...@apache.org> on 2025/04/21 21:07:00 UTC

[jira] [Created] (IVY-1657) Memory leak in Packager resolver

Maarten Coene created IVY-1657:
----------------------------------

             Summary: Memory leak in Packager resolver
                 Key: IVY-1657
                 URL: https://issues.apache.org/jira/browse/IVY-1657
             Project: Ivy
          Issue Type: Improvement
          Components: Core
            Reporter: Maarten Coene
             Fix For: 2.6.0


When a packager resolver is defined in the ivysettings.xml, and that settings file is loaded, the packager resolver will register a shutdown hook (in the constructor).

This is problematic when Ivy is used in a server environment (like jenkins) where it can take a long time before the shutdown hooks are run. Meaning that everytime the settings are loaded, a new shutdown hook is registered (and never GC) holding references to the resolver itself and also the settings, ...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)