Memory usage blow up on julia 1.9

Our in-house application has been seeing huge memory usage spikes since our upgrade to 1.9 (5x what was used before). Has anyone else experienced that? The new feature is a likely culprit, but we’re still early in our investigation.

1 Like

Yes, there are quite a few issues on github about that: e.g. #50658, #49545, #49761. These should be fixed on 1.10, so I’ recommend staying on 1.8 if the memory is an issue for you and waiting for 1.10.

2 Likes

We have experienced that, too, with Trixi.jl. In some cases, passig a --heap-size-hint to Julia solved the issues for us.

1 Like

Just updated to Julia 1.9.3 and noticed the memory usage blow up to. Very sad.

Manual GC.gc() calls has fixed the issue for us; knowing the fix is in 1.10 we’re OK with it.

After upgrading to 1.10.2 all of our memory issues disappeared. Everything is running much faster too. Well done, Julia team!

5 Likes