필터 지우기
필터 지우기

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 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