[code-reflection] RFR: Model lifetimes of onnx session-related objects more explicitly
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Feb 28 14:57:13 UTC 2025
On Fri, 28 Feb 2025 12:42:24 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> With these changes the memory arrives at ~400K (there is still some minor leak, but not sure worth pushing more).
Actually, I stand corrected -- I don't think there's any leak after the changes in this PR are applied. While memory keeps increasing up to 550Kb -- it then stays pegged there. So what I thought was a leak was likely the Java heap expanding before the GC kicked in.
-------------
PR Comment: https://git.openjdk.org/babylon/pull/332#issuecomment-2690843490
More information about the babylon-dev
mailing list