Borrar filtros
Borrar filtros

Error java when open mha with Read Medical Data 3D

1 visualización (últimos 30 días)
Alexandre LEGAY
Alexandre LEGAY el 12 de Oct. de 2018
Hello, I'm trying to open a .mha file with the function mha_read_volume of the toolbox "Read Medical Data 3D". When I run "V = mha_read_volume('C:\Users\Alex 1\Documents\Stage\TravailPerso\DonneesCoeur\LVENDO.mha');" I obtain the error message :
Error using mha_read_volume>zlib_decompress (line 86) Java exception occurred: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.grow(Unknown Source)
at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at com.mathworks.mlwidgets.io.InterruptibleStreamCopier.copyStream(InterruptibleStreamCopier.java:74)
at com.mathworks.mlwidgets.io.InterruptibleStreamCopier.copyStream(InterruptibleStreamCopier.java:51)
Error in mha_read_volume (line 74) V = zlib_decompress(Z,DataType);
I tried all that I find in forums (increase java memory with HOME > PREFERENCES > GENERAL > JAVA_HEAD_MEMORY or by the creation of the file java.opts, change HOME > PREFERENCES > GENERAL > "Enable MathWorks source control intergation" by "None") and nothing works... Do you have any other ideas ? I thank you in advance for your answer. Kind regards, Alex

Respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by