Matlab starting with java memory error. Localised to particular ID

조회 수: 6 (최근 30일)
Steve Loch
Steve Loch 2019년 4월 2일
Tried inserting another ~/.matlab/R2016b/matlab.prf from another ID but it didn't seem to change anything.
=================================
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
Warning: Initializing Java preferences failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:Java:GenericException
Java exception occurred:
java.lang.NullPointerException
at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:176)
at com.mathworks.util.osgi.OSGiManager.waitForFinalBundle(OSGiManager.java:317)
at com.mathworks.util.osgi.OSGiManager.getImplementors(OSGiManager.java:159)
at com.mathworks.util.osgi.ClasspathOSGiManager.getImplementors(ClasspathOSGiManager.java:49)
at com.mathworks.mde.editor.debug.DebuggerInstaller.init(DebuggerInstaller.java:30)
> In matlabrc (line 121)
ERROR: Unable to start system bundle. (java.lang.OutOfMemoryError: unable to create new native thread)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.apache.felix.framework.PackageAdminImpl.<init>(PackageAdminImpl.java:54)
at org.apache.felix.framework.PackageAdminActivator.start(PackageAdminActivator.java:36)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
at org.apache.felix.framework.Felix$SystemBundleActivator.start(Felix.java:3922)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
at org.apache.felix.framework.Felix.init(Felix.java:638)
at org.apache.felix.framework.Felix.start(Felix.java:672)
at com.mathworks.util.osgi.OSGiManager$1.run(OSGiManager.java:211)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: Unable to start system bundle.
at org.apache.felix.framework.Felix.init(Felix.java:645)
at org.apache.felix.framework.Felix.start(Felix.java:672)
at com.mathworks.util.osgi.OSGiManager$1.run(OSGiManager.java:211)
at java.lang.Thread.run(Unknown Source)
Non-Degree Granting Education License -- for use at non-degree granting, nonprofit,
educational organizations only. Not for government, commercial, or other organizational use.

답변 (0개)

카테고리

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