Java Heap Expand past default slider

조회 수: 1 (최근 30일)
Joseph Hasekamp
Joseph Hasekamp 2017년 2월 10일
댓글: Joseph Hasekamp 2017년 2월 13일
In 2015aSP1 you could expand the java heap size to a manual input size (say 95GB) and it would accept it. Seems like in 2016a that is not possible, anyone know a work around?
  댓글 수: 2
Guillaume
Guillaume 2017년 2월 10일
You are aware that increasing the Java heap size won't help at all with out of memory errors in matlab. On the contrary increasing the Java heap size may reduce the memory available to matlab to store its matrices.
Matlab uses Java mostly for its graphics and networking code. I suspect that if you have 95 GB worth of Java graphics objects, graphics updates would be so slow as to be unusable.
Joseph Hasekamp
Joseph Hasekamp 2017년 2월 13일
Yes I do realize this for a standard use of MatLab. However when you are using a Java plug in to read in and parse serial streams, the Java heap is the limiting factor for those operations.

댓글을 달려면 로그인하십시오.

채택된 답변

Harsh
Harsh 2017년 2월 13일
Hello,
Further to Guillaume's response, you may find the following answer by Igor helpful.

추가 답변 (0개)

카테고리

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