Help with Java heap space on macOS Big Sur

1 次查看(过去 30 天)
Hi,
I have a persistant and very annoying problem with matlab. I am keep getting the following error and I can't work with MATLAB2017b anymore. Should I unistall and install again Matlab? Is there any way to fix that?
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space

回答(1 个)

Sivani Pentapati
Sivani Pentapati 2021-8-30
You are facing this error because of insufficient java heap space. The configuration of the heap space can be edited under the Preferences tab of the toolstrip. Please refer to this link for more information.

类别

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