Memory issue with dicom file using dcm4che3 in java.

34 views
Skip to first unread message

btesp...@gmail.com

unread,
Feb 22, 2018, 7:48:35 AM2/22/18
to dcm4che
Hi,
I am reading Dicom image files in a web project. As I am reading different files, memory of java keeps on increasing and after processing 4 to 5 files jvm crashes.
I am getting 3 various TransferSyntaxUID viz: 

a) 1.2.840.10008.1.2.4.51 - Which is lossy JPEG 12 bit image.
b) 1.2.840.10008.1.2.4.70 - Which is JPEG lossless image.
c) 1.2.840.10008.1.2.4.90 - Which is JPEG 2000 lossless image.

I am using JRE 7 update 80 32 bit with Jboss 7, dcm4che3 version 5.11.0 library and  Jboss 6 both on a windows machine.
I added JAI Image I/O tools of oracle in the jre for reading of Dicom and it added some jars and a dll file in the JRE. It works perfectly with TransferSyntaxUID 51 and 70, and crashes with TransferSyntaxUID 90. When I remove "clib_jiio.dll" that JAI Image I/O tools added in JRE, then it works fine with TransferSyntaxUID 70 and 90, but gives error when I read file with TransferSyntaxUID 51.

Is there any way to read all 3 UID's in a single project? As it works perfectly either with TransferSyntaxUID 51 or with TransferSyntaxUID 90 in my case.

Thanks,
Akhil Malhotra
Reply all
Reply to author
Forward
0 new messages