Open saladpanda opened 6 years ago
I understand and expect the "Out of memory" error given the size of the data; the loess algorithm is O(n^2) in memory. I do not expect a segfault, I think it is related to the low memory situation (probably unchecked malloc).
Both tests run on my system. But for 40000 rows, I get segfaults for both plots.
The "Out of memory" is absolutely expected. The bug I wanted to report is the segfault.
Now that I tested the above code again I get segfaults for both and can't manage to find a size where I just get "out of memory".
I noticed this while using plotnine in jupyter notebook. I had method set to loess and then increased the size of the dataframe. Suddenly the ipython kernel kept crashing when generating the plot. I think scikit-misc (or plotnine?) should catch this instead of crashing.
Yes, the segfaults cause the Jupyter kernel to crash.
Any update on this?
I'm quite sure this is an issue of scikit-misc so I file it here. I ran into the following why doing plots with https://github.com/has2k1/plotnine.
With
print(plot1)
this prints:With
print(plot2)
this prints: