matlab左下角一直显示“正在处理 取消”并报java错误处理办法

我的matlab软件已经有好几个月没有打开使用过了,是2015b版本,前几天打开就出现下图所示的情况,一会还会报java错误,java.lang.OutOfMemoryError等错误,控制台出现一大堆“红色”提醒,让我这个程序员实在是不能忍啊。
像这样:
Exception in thread “BayeuxServer@2069991850” java.lang.OutOfMemoryError: GC overhead limit exceede

Exception in thread “qtp735994700-98” java.lang.OutOfMemoryError: GC overhead limit exceeded

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)

在这里插入图片描述
我一开始以为是不是误删了某些文件导致的,就卸载了matlab 2015b,重新安装,没想到,还是出现同样的情况!!
那我就换了一个matlab版本,又把电脑上的matlab 2015b卸载了,重新安装了matlab 2016a版本,
最气人的是,依旧是同样的问题,左小角一直显示“正在处理 取消”字样;
好了,那我只能对它进行根治了,疯狂搜索。。。求解决办法,

我把报错提醒的语句用某搜索引擎搜索,看到matlab论坛,有人也遇到过同样的问题,如下:
ta说ta需要help,哈哈哈,可能也是被逼疯啦,,,
在这里插入图片描述
在这里插入图片描述
跟我一样,也是重新安装无任何进展。。。

好了,下面说正题吧,到底怎么解决这个问题呢?

幸运的是,论坛下方给了他解答,如下:
在这里插入图片描述
不幸的是,我惊了。。。English回答的,可是我的matlab是汉化版的啊~~~~
我对应不到自己的汉化matlab哪里有Source Code Control呢。。。
于是我又进行搜索,找解答,搜到如下:
在这里插入图片描述
可恶的是,它让我登录,才能看解决方法,,,
好,你牛行了吧,那我就只好登录了,这个论坛,我以前注册过账号,但是密码忘了,当我找回密码登录后,,,,奇迹出现了。。。。大家看:
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
我想看到看不到,不想看的给我来一堆。。。

本来是想偷懒,不看英文的,非得逼我研究。。。

说了自己的体验,那么多废话,只是为了记录下来,那现在开始说解决方法吧。

解决办法:

Fixed the problem !..
navigate to the MATLAB > General > Source Control
disable the automatic source control by selecting “None”.

打开你的汉化版的matlab,主页—>预设
在这里插入图片描述
MATLAB—>常规—>源代码管理
选“无”即可,完美解决。
在这里插入图片描述
注:上面图中源代码管理下方有一个“Java堆内存”,我们最好设置的值大一些。

参考和引用:

https://www.ilovematlab.cn/thread-560771-1-1.html?s_tid=LandingPageTabqa

https://ww2.mathworks.cn/matlabcentral/answers/275182-matlab-slow-no-response-with-high-cpu-usage

仅用来个人学习和分享,如有错误,请指正。

如若侵权,留言立删。

尊重他人知识产权,不做拿来主义者!

喜欢的可以关注我哦QAQ,

你的关注和喜欢就是我write博文的动力

猜你喜欢

转载自blog.csdn.net/AugustMe/article/details/96966175