[Camino-users] java heap space

Philip A Cook cookpa at mail.med.upenn.edu
Tue Jul 10 05:36:11 PDT 2012


export CAMINO_HEAP_SIZE=1000

where 1000 = 1000 Mb, you can make this larger as needed but not larger than the amount of RAM you have. 

On Jul 10, 2012, at 8:34 AM, Peter Neher wrote:

> Dear all,
> 
> I am trying to run image2voxel on my diffusion weighted .nii.gz file and get the following error:
> 
> 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:275)
> 
> The image has a size of about 200mb. Do you know if there is a workaround for this on ubuntu 12.4, java 1.7 (OpenJDK).
> 
> Best,
> Peter
> _______________________________________________
> Camino-users mailing list
> Camino-users at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/camino-users



More information about the Camino-users mailing list