Info

This question is closed. Reopen it to edit or answer.

Matlab slow and unstable on OS X, Java errors in command line every 5 or so minutes,

1 view (last 30 days)
Since Matlab 2013 (am currently using 2014b and things haven't improved) I've found the IDE to be slow and laggy, maybe 20% of the time I plot or go to edit a variable I get a stream of Java errors in the command line window. After 20-30 minutes it will get so laggy its unusable and I will have to force quit and restart.
Its driving me insane,
I just did some clicking until I got an error (took about 10 seconds), this is fairly typical ( http://pastebin.com/A2hRHRWy )
edit:
Macbook Pro non-retina, i7 2.3Ghz 16GB ram, Yosemite (but had error with Mavericks too, it started after I installed 2013a)
I have the Apple Java release:
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
The error appears somewhat sporadically, its reproducible by doing things which involve GUI functions of matlab.
Things that have brought it on include:
  • Opening the figure editor,
  • Opening the curve fitting toolbox gui,
  • Editing matrices and variables using the table views
  • Plotting 3d figures
  • Viewing large images
  • Opening the help dialogue for a function
If I want to reproduce it I could just plot 4 figures and then open the plot editor for all of them, I would be very confident that the error would appear before I have opened the editor for all of them. However it is not consistent enough that I would be certain of this.
Things I have tried that made no difference
  • Installing Java from Oracle
  • Increasing Java heap memory
  2 Comments
John D'Errico
John D'Errico on 15 Nov 2014
Edited: John D'Errico on 15 Nov 2014
I've been using MATLAB for MANY years with no such problems, as have many other people, so your experience is not the common one. That says it is something different about your system or what you are doing with it that makes this happen. And if it has been happening with multiple matlab releases and OSX releases, then it suggests the problem may be in what you are doing, or in your computer itself. So you need to help those who might have the answer.
You need to provide sufficient information for someone to help you. Beyond an error dump pasted in, provide information too.
What version of OSX are you using? What version of Java? What computer? How much memory? What CPU? What toolboxes do you have? (Supply the output of ver to tell that.) What specifically are you trying to do when this happens?
Tom
Tom on 15 Nov 2014
Macbook Pro non-retina, i7 2.3Ghz 16GB ram, Yosemite (but had error with Mavericks too, it started after I installed 2013a)
I have the Apple Java release:
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
The error appears somewhat sporadically, its reproducible by doing things which involve GUI functions of matlab.
Things that have brought it on include:
  • Opening the figure editor,
  • Opening the curve fitting toolbox gui,
  • Editing matrices and variables using the table views
  • Plotting 3d figures
  • Viewing large images
  • Opening the help dialogue for a function
If I want to reproduce it I could just plot 4 figures and then open the plot editor for all of them, I would be very confident that the error would appear before I have opened the editor for all of them. However it is not consistent enough that I would be certain of this.
Things I have tried that made no difference
  • Installing Java from Oracle
  • Increasing Java heap memory
Any ideas?

Answers (1)

ANASTASIOS KATSAROS
ANASTASIOS KATSAROS on 8 Feb 2015
I have the same issues as above. Any responsible answer? Why you sell something that does not work as it should?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!