Error java when open mha with Read Medical Data 3D
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!