Error java when open mha with Read Medical Data 3D

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by