Hello Matteo & Marco,<div><br></div><div>Thijs is probably right, it's most likely that the filesize is too large to be mapped into your RAM. It's a little annoying that the OS doesn't provide anything more informative about the error than "no error", but at least we know it's a failed memory-mapping. I'm surprised this happened with a filesize of 1GB though. </div>
<div><br></div><div>Can you tell us:</div><div>- how much RAM you have installed, and how much swap (type 'free' in a terminal if using Linux). </div><div>- whether you're running the 32-bit or 64-bit version.</div>
<div> </div><div>On some platforms, the 32-bit version will only handle a maximum of 2GB of memory mapping, and since you're copying data from a 1GB dataset into another 1GB dataset, that will probably be enough to go over the limit. Shouldn't happen on a 64-bit system, unless potentially you run out of physical memory...</div>
<div><br></div><div>On a separate note: why are you trying to convert the file to mif format? All MRtrix commands will happily handle your 4D analyse file directly (memory permitting)...</div><div> </div><div>Cheers,</div>
<div><br></div><div>Donald.</div><div><br></div><div><br><br><div class="gmail_quote">On 20 June 2011 18:23, Thijs Dhollander <span dir="ltr"><<a href="mailto:thijs.dhollander@uzleuven.be">thijs.dhollander@uzleuven.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Matteo & Marco,<br>
<br>
I think you might be right about it being a memory error. I remember getting the same error in a different -but then again similar- situation: I was performing TDI, but at a pretty high resolution. The final mif file also got created (at what seemed to be the right filesize), but then it gave me the same "no error" error.<br>
<br>
What you could try in your situation (apart from getting more memory :-)), is to import parts of it along some dimensions... if that makes sense for what is in your data and what you want to do with it. For instance, if your images have a very high resolution, you could import the upper and lower half of them separately. Or if you just acquired many different b-shells, you could import one of them. Or if you acquired many repetitions, you could import them separately and then average them, etc...<br>
<br>
Kind regards,<br>
<br>
Thijs Dhollander<br>
PhD Student<br>
<br>
<a href="mailto:thijs.dhollander@uz.kuleuven.ac.be">thijs.dhollander@uz.kuleuven.ac.be</a><br>
tel. +32 16 34 90 37<br>
gsm. +32 475 36 44 27<br>
<br>
Medical Image Computing (K.U.Leuven, ESAT/PSI, MIC)<br>
Medical Imaging Research Center | UZ Gasthuisberg | Herestraat 49 - bus 7003 | B-3000 Leuven | <a href="http://www.medicalimagingcenter.be" target="_blank">http://www.medicalimagingcenter.be</a><br>
<div><div></div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:mrtrix-discussion-bounces@public.nitrc.org">mrtrix-discussion-bounces@public.nitrc.org</a> [mailto:<a href="mailto:mrtrix-discussion-bounces@public.nitrc.org">mrtrix-discussion-bounces@public.nitrc.org</a>] On Behalf Of Matteo Figini<br>
Sent: vrijdag 17 juni 2011 20:14<br>
To: mrtrix-discussion<br>
Cc: Marco Castelli<br>
Subject: [Mrtrix-discussion] Conversion of 4D analyze file into mif DWi dataset<br>
<br>
Hello<br>
<br>
We have a problem in the import of 4D analyze (hdr/img) images into mrtrix<br>
<br>
We used the following string:<br>
mrconvert name.img dwi.mif<br>
but we received the following error:<br>
mrconvert: memmory mapping filed for file 'dwi.mif': No error<br>
<br>
A dwi.mif file of the same size of the img was generated but when we checked it with mrview we can't see any image.<br>
We point out that our img file is about 1GB and we wonder if this could generate a memory error.<br>
<br>
Matteo and Marco<br>
<br>
<br>
_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jacques-Donald Tournier (PhD)<br>Brain Research Institute, Melbourne, Australia<br>Tel: +61 (0)3 9035 7033<br>
</div>