<div dir="ltr"><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">Hi Donald,</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium"><br>

</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">thanks for the answer.</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

At first Host and Guest system are 64bit and using NTFS and ext4.</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">The VMWare uses 4GB RAM.</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

<br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">4GB RAM:</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium"><br></p>
<p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">
700,000 works 2.1 GB</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">800,000 didn&#39;t work 2,33 GB not viewable, and doesn&#39;t work for TDI</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

<br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">I raised the RAM to around 6GB:</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

<br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">850,000 works 2,48</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

1,000,000 works 2,91</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">1,500,000 works 4,37 not viewable, but works for TDI</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

2,000,000 works  5,83 not viewable, but works for TDI</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium"><br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

<br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">What I don&#39;t understand is. You dont need RAM for creating the file. But you need a lot RAM for viewing the file. If you watch the RAM load with MRView it fits, and if load a file with the 6GB RAM and its to much it goes near 100% and the terminal kills the process. Thats fine with me. But with 4GB RAM .. the files, that overloads the RAM by viewing...these files doesnt show the RAM load up. Instead it doesnt even start loading the RAM, it breaks with (<b>is not in MDS format (unrecognised magic number).</b></p>

<p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">Also, if I try to calculate TDI the same error message is thrown.</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

<br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">So far, I have no limits for the 6GB RAM and the TDI processing. Viewing breaks between 1,000,000 between 1,500,000.</p>

<p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium"><br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">Its fine with me, I can raise the RAM or playing with the SWAP file. But I&#39;m curious about it. Maybe there is an easy answer or it helps somebody else. </p>

<p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium"><br></p><p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">
**********************************************************************</p>
<p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium"><br></p><p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">
<br>
</p><p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium"><br></p><p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

Hi Ralf,</p><p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">Difficult to know what&#39;s going on without a bit more information, but my guess is things start going wrong when you hit the 32-bit threshold. I&#39;m not sure why it wouldn&#39;t at least stop tracking if that were the case though, I thought I&#39;d put in some checks in case this type of  problem occurred... In any event, the fact that you can generate a decent number of tracks successfully strongly suggests that the problem is related to file size in some way, and a quick calculation suggests that 500,000 tracks would probably take up of the order of 2-4Gb. You can probably check whether your file grows as expected beyond 2 or 4Gb: if it stops at that point, that would be the problem...</p>

<p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">Assuming that&#39;s the case, the problem would be either that you&#39;re running a 32 version of MRtrix, that your virtual machine is itself 32 bit, or that the filesystem you&#39;re writing to doesn&#39;t support large file sizes (e.g. the FAT filesystem as used in DOS-formatted hard drives). Since it does look like you&#39;re writing to an external hard drive, I would have a good look at how it&#39;s formatted... If it&#39;s a FAT partition, you might want to consider reformatting as a NTFS partition.</p>

<p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">Hope this helps,<br>Donald.</p><p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">

<br>--<br>Dr J-Donald Tournier (PhD)</p><p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">Senior Lecturer, Biomedical Engineering<br>Division of Imaging Sciences &amp; Biomedical Engineering<br>

King&#39;s College London</p><p dir="ltr" style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-family:Times;font-size:medium">A: Department of Perinatal Imaging &amp; Health, 1st Floor South Wing, St Thomas&#39; Hospital, London. SE1 7EH<br>

T: +44 (0)20 7188 7118 ext 53613<br>W: <a href="https://exmail.med.uni-magdeburg.de/owa/redir.aspx?C=6L5TSjZ7GEqdCag4y93XoyXbV5Kb5NAIAHJqEQfU-6Bpo1SU6NsXe3_85akimfXLSlXNiSAwvZI.&amp;URL=http%3a%2f%2fwww.kcl.ac.uk%2fmedicine%2fresearch%2fdivisions%2fimaging%2fdepartments%2fbiomedengineering" target="_blank">http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering</a><br>

   </p><div class="gmail_quote" style="color:rgb(0,0,0);font-family:Times;font-size:medium">On 13 Jan 2014 13:53, &quot;Ralf&quot; &lt;<a href="https://exmail.med.uni-magdeburg.de/owa/redir.aspx?C=6L5TSjZ7GEqdCag4y93XoyXbV5Kb5NAIAHJqEQfU-6Bpo1SU6NsXe3_85akimfXLSlXNiSAwvZI.&amp;URL=mailto%3aluetzken%40med.ovgu.de" target="_blank">luetzken@med.ovgu.de</a>&gt; wrote:<br type="attribution">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>did somebody encounter the error?</div>

<div><br></div><div>I can load whole brain tracks with 500,000 but 1,000,000 and above doesnt work.  Im not sure where the threshold is.</div><div><br></div><div>Terminal:</div><div><br></div><div>generated the track:</div>

<div><br></div><div>30111  405207 generated,  </div><div>30111 2019750 generated,</div><div>1500000 selected    [100%]</div><div>[1]+  Done                   </div><div><br></div><div>real<span style="white-space:pre-wrap"> </span>68m21.159s</div>

<div>user<span style="white-space:pre-wrap"> </span>61m49.668s</div><div>sys<span style="white-space:pre-wrap"> </span>7m42.241s</div><div><br></div><div>ubuntu@ubuntu-virtual-machine:/mnt/hgfs/HR_DWI/ho33_2404_1.4_B1500_ElectroVectorScheme/dicomdaten_nr3538$ mrview anat_ho33_2404.mif &amp;[1] 4237<br>

</div><div><br></div><div>Then I try loading the Track with the GUI:</div><div><br></div><div>ubuntu@ubuntu-virtual-machine:/mnt/hgfs/HR_DWI/ho33_2404_1.4_B1500_ElectroVectorScheme/dicomdaten_nr3538$ mrview: file &quot;/mnt/hgfs/HR_DWI/ho33_2404_1.4_B1500_ElectroVectorScheme/dicomdaten_nr3538/whole_brain_1500000t.tck&quot;<b> is not in MDS format (unrecognised magic number)</b></div>

<div><b><br></b></div><div>No further details about the error are given.<br></div><div><br></div><div>Hope somebody can help,</div><div><br></div><div>Ralf Lützkendorf</div></div><br>_______________________________________________<br>

Mrtrix-discussion mailing list<br><a href="https://exmail.med.uni-magdeburg.de/owa/redir.aspx?C=6L5TSjZ7GEqdCag4y93XoyXbV5Kb5NAIAHJqEQfU-6Bpo1SU6NsXe3_85akimfXLSlXNiSAwvZI.&amp;URL=mailto%3aMrtrix-discussion%40www.nitrc.org" target="_blank">Mrtrix-discussion@www.nitrc.org</a><br>

<a href="https://exmail.med.uni-magdeburg.de/owa/redir.aspx?C=6L5TSjZ7GEqdCag4y93XoyXbV5Kb5NAIAHJqEQfU-6Bpo1SU6NsXe3_85akimfXLSlXNiSAwvZI.&amp;URL=http%3a%2f%2fwww.nitrc.org%2fmailman%2flistinfo%2fmrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a></blockquote>

</div></div>