フィルターのクリア

Error java when open mha with Read Medical Data 3D

1 回表示 (過去 30 日間)
Alexandre LEGAY
Alexandre LEGAY 2018 年 10 月 12 日
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 Center および File ExchangeIntroduction 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