Java exception 2016a in Jupyter/IPython over linux
显示 更早的评论
Something regressed between R2015aSP1 and R2016a, when MATLAB is called via Jupyter Notebook using the matlab_kernel python interface.
With R2015aSP1, everything works as expected.
With R2016a, things work except for plotting. When trying to plot anything, we get the error
!!!!!!!!
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at com.mathworks.hg.util.OutputHelperProcessingException.<init>(OutputHelperProcessingException.java:17)
at com.mathworks.hg.util.HGRasterOutputHelper.generateOutput(HGRasterOutputHelper.java:170)
!!!!!!!!
after which, the MATLAB instance starts to eat up system RAM and becomes unresponsive. Help?
1 个评论
Here's the related issue on GitHub:
It appears that the developer of pymatbridge is looking into it. Apparently it's something to do with saved figures being too large.
回答(1 个)
Adithya Addanki
2016-3-31
0 个投票
Hi Willie,
It may be possible that the graphics drivers are out of date. Please try updating the graphic drivers.
Additionally, please refer to the link below for fixing low-level graphics issues:
http://www.mathworks.com/help/matlab/creating_plots/resolving-low-level-graphics-issues.html (Attention to "Fix Out-of-Memory Issues")
I hope this helps.
Thank you,
Adithya
类别
在 帮助中心 和 File Exchange 中查找有关 Integration with Online Platforms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!