To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
Hi, (this is all under windows 7, matlab 2011b and guide) I'm working with matlab gui-s and I get the evil java heap error. I have increased the java heap memory.
If I get this error, matlab crashes and leaves an orphaned matlab.exe process running. I cannot kill the process with task manager or taskkill, only rebooting windows. Does anyone know how to kill this zombie? If I just restart matlab I end up with 2 processes.
What happenes before the red scrolling error text often enough is the system/matlab starts slowing down, I realize I am going to get the evil red java heap error. I try to save what I'm doing and some times it does, others it doesn't, or it saves half, screwing up the works and crashing. Then, using task manager, I find that matlab.exe is still a process running. I cannot use taskmanager to kill the process. If I start matlab again, I have 2 of these running. When I go to a windows 7 command prompt as admin, I try taskkill /f /im matlab.exe the result is it finds a PID number, but it says the process does not exist. The only way I've found to kill the process is to reboot windows.... If I don't, I get 2 matlab.exe and since I'm using the COM/USB port stays locked and cannot be acessed... Hence, reboot.. ugh...
Does anyone know how to kill the orphaned matlab.exe process other than rebooting windows?
No products are associated with this question.
When I've found that the normal utilities don't work, I reach for the PStools.
Try using "pskill"
Have you read http://www.windowsitpro.com/article/resource-kit/how-can-i-kill-an-orphaned-process- already? They suggest:
AT <time> /INTERACTIVE CMD /C KILL -F <process name or id>