Java heap space out of memory problem R2017b

Hi,
I have the following error which I haven't managed to solve yet. I am using Matlab R2017b Any help?
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
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space

回答(1 个)

You can adjust the amount of heap memory MATLAB allocates for Java objects. For 2017b, here's the link to the documentation that helps you update the Jave heap memory preferences.

类别

帮助中心File Exchange 中查找有关 Call Java from MATLAB 的更多信息

提问:

DM
2021-8-19

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by