MATLAB slow/no response with high CPU usage

49 views (last 30 days)
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(
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
at org.eclipse.jetty.util.thread.QueuedThreadPool$
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

Accepted Answer

Walter Roberson
Walter Roberson on 24 Mar 2016
Make sure you turn off Source Code Control in Preferences.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!