Doubly linked objects preventing garbage collection

You can try again with GC.gc(true) to force a full garbage collection. But generally you should never rely on finalizers to run. Recent thread on a similar topic:

Memory issue can also arise from different things. Julia 1.9 changed GC heuristics and as a result many people experience memory issues. If you haven’t already you should give Julia a hint with --heap-size-hint and see if things improve.

1 Like