Java Heap Expand past default slider

1 Ansicht (letzte 30 Tage)
Joseph Hasekamp
Joseph Hasekamp am 10 Feb. 2017
Kommentiert: Joseph Hasekamp am 13 Feb. 2017
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 Kommentare
Guillaume
Guillaume am 10 Feb. 2017
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 am 13 Feb. 2017
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Harsh
Harsh am 13 Feb. 2017
Hello,
Further to Guillaume's response, you may find the following answer by Igor helpful.

Weitere Antworten (0)

Kategorien

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

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by