[Camino-users] image2voxel: out of memory error

Zhuang Song zhuang.song at gmail.com
Mon Aug 20 11:40:45 PDT 2012


Thanks Phil. It solved the problem.

Zhuang

On Mon, Aug 20, 2012 at 7:16 AM, Philip A Cook <cookpa at mail.med.upenn.edu>wrote:

> You should set the memory allocation to Camino to a suitably large (but
> realistic) number. For example
>
> CAMINO_HEAP_SIZE=1800
>
> if you have 2 Gb of RAM, will allow up to 1800 Mb of memory use.
>
>
> On Aug 19, 2012, at 9:43 PM, Zhuang Song wrote:
>
> > Hello.
> >
> > When I ran image2voxel on a DTI image with 256 directions, I got an Out
> of Memory Error:
> >
> > image2voxel -4dimage 4Ddwi_b1000.nii.gz -outputfile dwi.Bfloat
> > Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
> >       at
> data.ScannerOrderDataSource.init(ScannerOrderDataSource.java:169)
> >       at
> data.ScannerOrderDataSource.<init>(ScannerOrderDataSource.java:134)
> >       at
> data.ScannerOrderScaledDataSource.<init>(ScannerOrderScaledDataSource.java:52)
> >       at
> imaging.Nifti1Dataset.getImageDataSource(Nifti1Dataset.java:2298)
> >       at apps.ImageToVoxel.execute(ImageToVoxel.java:105)
> >       at apps.EntryPoint.main(EntryPoint.java:278)
> >
> > The image size is 128x128x28x257, and data type integer. What would be
> the problem?
> >
> > Thanks,
> > Zhuang
> > _______________________________________________
> > Camino-users mailing list
> > Camino-users at www.nitrc.org
> > http://www.nitrc.org/mailman/listinfo/camino-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/camino-users/attachments/20120820/2975e4d5/attachment.html


More information about the Camino-users mailing list