Matlab 2016b Windows 10 unresponsive constantly

4 次查看(过去 30 天)
Hey, I had MatLab 2015b earlier and on Windows 10 and it kept getting unresponsive constantly. Now I updated it to 2016b to prevent this but the same just keeps happening. Every time I restart the matlab, it works just fine for a moment but at least after an hour it crashes for sure. Another thing is that it always gets stuck if my computer has been sleeping or hibernating. My hardware Lenovo Yoga 900, anyone else struggling with the same problem or solved this?

回答(3 个)

Tamir Suliman
Tamir Suliman 2016-11-27
Try to find crash dumps in the temporary directory.
You can locate these in case of a crash by following the steps given in this link: http://www.mathworks.com/matlabcentral/answers/100816
check this link too
https://www.mathworks.com/support/bugreports/924592
  3 个评论
Petri Manninen
Petri Manninen 2016-12-3
Actually I checked it now again since it got stuck again after my laptop was on for the night and none of the dumps were created after that.
IT's just that the when it gets stuck, the processing sign gets stuck in gets unresponsive and parts of the window get black and they might update from black if something happens in that area but most likely what happens is that matlab gets stuck. And sometimes it migh still recover from this for a while but is with a lot of lag and will get stuck again.
Petri Manninen
Petri Manninen 2016-12-3
Now the matlab was stuck for a long period and it recovered, after that it created a log file: Operating System: Microsoft Windows 10 Home Processor ID: x86 Family 6 Model 78 Stepping 3, GenuineIntel Host Name: xxxxxxxxxxxxxxx Exception in thread "EventMgr Dispatcher"
and I got this into the console:
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.awt.Rectangle.getBounds(Unknown Source) at sun.java2d.SunGraphics2D.transformShape(Unknown Source) at sun.java2d.SunGraphics2D.transformShape(Unknown Source) at sun.java2d.SunGraphics2D.setClip(Unknown Source) at sun.java2d.SunGraphics2D.setClip(Unknown Source) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) at javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager$3.run(Unknown Source) at javax.swing.RepaintManager$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.access$1100(Unknown Source) at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Unknown Source) at java.lang.String.<init>(Unknown Source) at java.lang.StringBuilder.toString(Unknown Source) at org.eclipse.jetty.util.ajax.JSON.toJSON(JSON.java:267) at org.cometd.common.JettyJSONContext.generate(JettyJSONContext.java:93) at org.cometd.server.BayeuxServerImpl.freeze(BayeuxServerImpl.java:868) at org.cometd.server.BayeuxServerImpl.doPublish(BayeuxServerImpl.java:823) at org.cometd.server.ServerChannelImpl.publish(ServerChannelImpl.java:301) at com.mathworks.matlabserver.webappcommon.comet.CommonCometDispatchServiceImpl.e(Unknown Source) at com.mathworks.matlabserver.webappcommon.comet.CommonCometDispatchServiceImpl.handlePushMessage(Unknown Source) at com.mathworks.messageservice.asynchronous.MessageServiceAsyncPushImpl.notifyObservers(MessageServiceAsyncPushImpl.java:115) at com.mathworks.messageservice.asynchronous.MessageServiceAsyncPushImpl.publish(MessageServiceAsyncPushImpl.java:82) at com.mathworks.messageservice.json.MessageServiceJSONImpl.publish(MessageServiceJSONImpl.java:76) at com.mathworks.matlabserver.worker.service.eval.impl13b.a.b.f.a(Unknown Source) at com.mathworks.matlabserver.worker.service.eval.impl13b.a.b.f.mvmChanged(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded Exception in thread "Explorer NavigationContext request queue" java.lang.OutOfMemoryError: GC overhead limit exceeded Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space

请先登录,再进行评论。


Dominic Hink
Dominic Hink 2016-12-3
I have exactly the same problem, did you find a solution?

Petri Manninen
Petri Manninen 2016-12-24
I'm not sure about this yet but I feel that for now it is working for me, I found a setting for Java Heap Memory from the preferences of Matlab and the default value is 384 MB. I increased this value to 1024 MB and at least for now the Matlab has been more stable. I'll inform more when I get more experience with this and if it reveals that it is not helping.
  1 个评论
Star Strider
Star Strider 2016-12-24
Please Contact Tech Support. This seems to be a problem others are having, and MathWorks could have a solution. The MathWorks people are here occasionally but not frequently, and may not have seen your original post.
Please post the MathWorks solution here (preferably as a Comment to your original Question) when you receive it.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by