Crah problem , matlab not working
1 visualización (últimos 30 días)
hi , every time i open matlab , it windown gets stuck on not responding and alsp gets these errors Pls find the attchmnent
pls give me solution for it, as i have already un install in re installed still facing the issue
Bhavana Ravirala el 20 de Feb. de 2023
This error can occur when the Java Garbage Collector has exceeded its overhead limit.
You can eliminate this error by following the workarounds mentioned below:
1. To disable the overhead limit, add the following line to the java.opts file:
If a java.opts file already exists on your MATLAB path, add the above-mentioned line to this file. If the file does not currently exist on your machine, please create a text file called java.opts and place this file in the location:
where $MATLABROOT is the MATLAB root directory obtained by typing the following at the MATLAB Command Prompt:
and $ARCH is the output of typing the following at the MATLAB Command Prompt:
2. One may force more Java garbage collection from the command line as well:-
r = java.lang.Runtime.getRuntime();
Running r.gc only once may not activate the object method and hence may need to be used more number of times.
Hope this helps!!