Yes, I am in a notebook (Vscode). The kernel should not to stop (as it happening), but the excution cell (Number [7], GC.gc()) should stop, but it not.
Are you certain it doesn’t stop? GC.gc() only returns nothing after all. Your CPU usage also suggests that nothing is running, with only 6% being in use.
So are you saying that the cell is still running and blocking other execution? So if you for example try to run 1+1 in another cell after that, it would lock up an never run?
Or are you saying the cell finishes, but the gc call does not do what you expect?
I suggest don’t do that. While GC.enable(false) is an option to use, it is (or can be, very) dangerous (I would rarely if ever use it, and then very carefully), especially with 64 GB allocated. I find it likely you ran out of memory (not sure what happens for you, on Linux it might kill some other process, on Windows it’s I think guaranteed not to happen).
Note, there’s this new option in Julia 1.9:
--heap-size-hint=<size> Forces garbage collection if memory usage is higher than that value.
Ideally you shouldn’t have to mess with some non-default option, and I’m not sure, they may have changed the default for that option. Only for some unusual situations, such as performance tuning or real-time, you should need non-default.