Open MasonProtter opened 3 months ago
This should've been fixed by the removal of the gensym here:
https://github.com/SciML/StochasticDiffEq.jl/commit/5fb37216efd759df26df89a00e6992a0e440b4d9
Are there any other generated symbols? Maybe audit the ensemble code?
Looks like it could exist in StochasticDelayDiffEq, but you don't have delays in your case
https://github.com/SciML/StochasticDelayDiffEq.jl/blob/master/src/solve.jl#L61
Ah interesting. I wonder if it has to do with EnsembleProblem
?
Maybe. That code is easy to audit though: https://github.com/SciML/SciMLBase.jl/blob/master/src/ensemble/basic_ensemble_solve.jl . I don't see anything immediate that would cause such a behavior. Maybe @topolarity or @gbaraldi have some tool to point us in some direction.
Describe the bug 🐞
When running a certain SDE in an
EnsembleProblem
, I see monotonically growing memory usage until my computer eventually kills julia.This does not occur if I specify a specific solving algorithm
Minimal Reproducible Example 👇
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
(I've also tested on
v1.11-rc2
and found the same result)