<div dir="ltr"><div dir="ltr">Hi Maedeh,<div><br></div><div>You are running out of memory. You have to increase it by changing the maximum value with the following command:</div><div><div><br></div><div><font face="monospace, monospace">export CAMINO_HEAP_SIZE=2000</font></div><div><br></div><div>where 2000 = 2000 Mb and can be set to whatever maximum amount of RAM you want Camino to use (within the amount of RAM you have obviously).</div></div><div><br></div><div>You can do it as a one off by typing this command in your terminal, or set it permanently by writing it in your <font face="monospace, monospace">&lt;HOME_DIR&gt;/.bashrc</font> file (for the changes to take effect you will need to refresh your current terminal with the new bash settings by typing <font face="monospace, monospace">source ~/.bashrc</font>, or you can just start a new terminal).</div><div><br></div><div>Best,</div><div><br></div><div>Michael</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 2, 2018 at 5:15 PM maedeh khalilian &lt;<a href="mailto:maedeh.kh73@gmail.com">maedeh.kh73@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear Camino experts,</div><div>I want to reconstruct my DWI image to  create dt.Bdouble in order to do a tractography.</div><div>But when I run the command below:</div><div>image2voxel -4dimage 4Ddwi_b1000.nii.gz -outputfile dwi.Bfloat<br></div><div>I see the error below and the created dt.Bdouble is empty !!</div><div>Exception in thread &quot;main&quot; java.lang.OutOfMemoryError: Java heap space<br>    at data.ScannerOrderDataSource.init(ScannerOrderDataSource.java:169)<br>    at data.ScannerOrderDataSource.&lt;init&gt;(ScannerOrderDataSource.java:134)<br>    at data.ScannerOrderScaledDataSource.&lt;init&gt;(ScannerOrderScaledDataSource.java:52)<br>    at imaging.Nifti1Dataset.getImageDataSource(Nifti1Dataset.java:2312)<br>    at apps.ImageToVoxel.execute(ImageToVoxel.java:104)<br>    at apps.EntryPoint.main(EntryPoint.java:293)<br><br></div><div>I dunno where the problem is from.</div><div>let me know if  my scheme file and DWI image is necessary for checking.<br></div><div>I would be grateful if u could help me.</div><div>Cheers</div><div>Maedeh<br></div><div><br></div></div></div></div>
_______________________________________________<br>
Camino-users mailing list<br>
<a href="mailto:Camino-users@www.nitrc.org" target="_blank">Camino-users@www.nitrc.org</a><br>
<a href="https://www.nitrc.org/mailman/listinfo/camino-users" rel="noreferrer" target="_blank">https://www.nitrc.org/mailman/listinfo/camino-users</a><br>
</blockquote></div>