You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some OHLC data here which I'm trying to plot and manipulate in a Jupyter notebook using the IJulia kernel. The following code reliably crashes the kernel, but shows no problems when running in CLI.
using DataFrames
using Plots
gr();
data = CSV.read("ohlc.csv", DataFrame);
plot(data[:, :close])
PlotUtils appears to be where the crash happens, and that's why I'm here, but I'm not too experienced navigating Julia's stack traces so feel free to point me somewhere else :)
I can only add that if I run the x86_64 build of Julia 1.7.1 via Rosetta 2, the crash mostly disappears (I think I only managed to trigger it once but I can't remember the conditions). OTOH, running via Rosetta 2 in incredibly, painstakingly slow when it comes to reading CSVs into DataFrames, so I'd rather avoid it. I mean, this one I read in a few seconds with the native build, but it takes several minutes with the x86_64 build, and this file is small at just over 200 kB. I have a few CSVs that easily reach into the 10s of MB, and at least a couple closer to 0.5 GB so… :)
The text was updated successfully, but these errors were encountered:
Morpheu5
changed the title
Reliable crash on Jupyter notebook (arm64, M1)
Reliable crash in Jupyter notebook on arm64, AS M1
Feb 2, 2022
I have some OHLC data here which I'm trying to plot and manipulate in a Jupyter notebook using the IJulia kernel. The following code reliably crashes the kernel, but shows no problems when running in CLI.
with crashlog extracted from Jupyter as follows.
PlotUtils appears to be where the crash happens, and that's why I'm here, but I'm not too experienced navigating Julia's stack traces so feel free to point me somewhere else :)
This is my configuration:
I can only add that if I run the
x86_64
build of Julia 1.7.1 via Rosetta 2, the crash mostly disappears (I think I only managed to trigger it once but I can't remember the conditions). OTOH, running via Rosetta 2 in incredibly, painstakingly slow when it comes to reading CSVs into DataFrames, so I'd rather avoid it. I mean, this one I read in a few seconds with the native build, but it takes several minutes with thex86_64
build, and this file is small at just over 200 kB. I have a few CSVs that easily reach into the 10s of MB, and at least a couple closer to 0.5 GB so… :)The text was updated successfully, but these errors were encountered: