Java exception 2016a in Jupyter/IPython over linux
Show older comments
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 Comment
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.
Answers (1)
Adithya Addanki
on 31 Mar 2016
0 votes
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
1 Comment
Willie Wong
on 31 Mar 2016
Categories
Find more on Integration with Online Platforms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!