Java Heap Expand past default slider

1 vue (au cours des 30 derniers jours)
Joseph Hasekamp
Joseph Hasekamp le 10 Fév 2017
Commenté : Joseph Hasekamp le 13 Fév 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 commentaires
Guillaume
Guillaume le 10 Fév 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 le 13 Fév 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.

Connectez-vous pour commenter.

Réponse acceptée

Harsh
Harsh le 13 Fév 2017
Hello,
Further to Guillaume's response, you may find the following answer by Igor helpful.

Plus de réponses (0)

Catégories

En savoir plus sur Call Java from MATLAB dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by