Java heap space out of memory problem R2017b

조회 수: 5 (최근 30일)
DM
DM 2021년 8월 19일
답변: Rishik Ramena 2021년 8월 24일
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개)

Rishik Ramena
Rishik Ramena 2021년 8월 24일
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.

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by