MATLAB slow/no response with high CPU usage
8 views (last 30 days)
Show older comments
Yulin Chang
on 24 Mar 2016
Answered: Walter Roberson
on 24 Mar 2016
OS: Mac OS 10.11.2 (El Capitan), MATLAB 2015b
With any simple task at the command window, such as changing directory, MATLAB becomes slow even no response with CPU usage over 50% when idling (should be less than 1% when idling). Sometimes it freezes completely and I had to shutdown computer to quit MATLAB, sometimes it recovers with the following the red error messages dumped at the command window:
Exception in thread "AWT-EventQueue-0" Exception in thread "BayeuxServer@1933819137" Exception in thread "qtp861451982-113" java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.concurrent.ConcurrentHashMap$KeySet.iterator(ConcurrentHashMap.java:1428)
at org.eclipse.jetty.io.nio.SelectorManager$SelectSet$1.run(SelectorManager.java:712)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)
java.lang.OutOfMemoryError: GC overhead limit exceeded
It also dumps a java.out.XXX file at my home directory that reads like:
Operating System: Darwin 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
Processor ID: x86 Family 6 Model 70 Stepping 1, GenuineIntel
Host Name: XXXX-MacBook-Pro.local
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Explorer NavigationContext request queue"
The strange thing is I have had this MATLAB for 5 months and never had this issue before. It only happened very recently. Tried to reinstall MATLAB with no improvement. This issue is very similar to this one Java heap space out of memory problem but mine is on Mac.
Please help
0 Comments
Accepted Answer
Walter Roberson
on 24 Mar 2016
Make sure you turn off Source Code Control in Preferences.
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!