<div dir="ltr">I'll also note that the vtkDICOMReader that comes with vtk-dicom (<a href="https://github.com/dgobbi/vtk-dicom">https://github.com/dgobbi/vtk-dicom</a>) will work with java wrapping, and it can read a much broader range of DICOM files than the vtkDICOMImageReader.<div><br></div><div>But first you'll want to confirm that the problem isn't a 32-bit memory allocation issue.</div><div><br></div><div> - David</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 9:50 AM, Pandia raja <span dir="ltr"><<a href="mailto:pandia005@gmail.com" target="_blank">pandia005@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Yes Mathieu you are right am using 32 bit JVM with large number of images . I will try to load the Dicom files using c++ code and let you know.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Pandiyan</div><div><div class="gmail-h5"><div dir="auto"><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Feb 2, 2017 8:42 PM, "Mathieu Malaterre" <<a href="mailto:mathieu.malaterre@gmail.com" target="_blank">mathieu.malaterre@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail-m_-1108715748691756625quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I would have guess a 32bits JVM with a very large DICOM Series. I am<br>
pretty sure the JVM cannot allocate a large contiguous chunk of<br>
memory.<br>
<br>
Anyway, posting your crash would help diagnose (I guess). Try to write<br>
a small C++ code which only load the DICOM Series and see if that<br>
works on your 64bits (just a guess) arch.<br>
<br>
-M<br>
<div class="gmail-m_-1108715748691756625elided-text"><br>
On Thu, Feb 2, 2017 at 4:07 PM, Sebastien Jourdain<br>
<<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.co<wbr>m</a>> wrote:<br>
> What system are you running on?<br>
> Are you sure those files are valid?<br>
> Are those DICOM file big? I'm not a DICOM expert but I'm just trying to get<br>
> a sense of what you are doing and what could cause those issue.<br>
><br>
> But based on what I eared about the DICOM format, it is possible that the<br>
> VTK reader is not properly understanding the specific DICOM format that is<br>
> used within your files. ITK is supposed to have a better reader for DICOM<br>
> than VTK.<br>
><br>
> On Wed, Feb 1, 2017 at 10:30 PM, Pandia raja <<a href="mailto:pandia005@gmail.com" target="_blank">pandia005@gmail.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>>   I am using VTK with Java wrapper for constructing MPR. JVM is crashing<br>
>> while reading dicom files using vtkDicomImageReader (few series its working<br>
>> fine). I don't know where the problem is. Please help me to resole this<br>
>> issue.<br>
>><br>
>> Thanks<br>
>> Pandiyan<br></div></blockquote></div></div></div></div></div></div></blockquote></div></div></div></div>