Closed jnsbck closed 9 months ago
Thanks for opening this issue! I don't really have an idea where this is coming from, I am not familiar enough with the Julia internals and garbage collection. But I am surprised that manually calling GC.gc()
fixes this. Either way, this should not be happening, and I will try to find out more to get this fixed.
I just ran this code again and the memory usage des not seem to increase, so I will close this issue for now. But if I somehow missed something and this still persists, please do reopen the issue.
Just tested again and for me the issue still persists. I am on the lastest package versions
[6e4b80f9] BenchmarkTools v1.4.0
[b0b7db55] ComponentArrays v0.15.8
[f6369f11] ForwardDiff v0.10.36
[bf3e78b0] ProbNumDiffEq v0.15.0
EDIT: cannot re-open since you closed it and I am not a collaborator on this repo.
Ok so this seems to be an issue with julia 1.9, but with 1.10 I can't reproduce this.
Hey,
I encountered some weird issue, where memory seamingly leaks during
ForwardDiff.gradient(ek1_loss)
. I was able to boil it down to the snippet below:ProbNumDiffEq v0.12.1
.Lemme know in case you need any additional info. Thanks for looking into this.