Java heap space out of memory problem R2017b

7 Ansichten (letzte 30 Tage)
DM
DM am 19 Aug. 2021
Beantwortet: Rishik Ramena am 24 Aug. 2021
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

Antworten (1)

Rishik Ramena
Rishik Ramena am 24 Aug. 2021
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.

Kategorien

Mehr zu Call Java from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by