Hi St9bad_alloc is a mem allocation error - you could try setting #components to something low to see if that works. cheers Christian On 5 Mar 2008, at 10:02, Hugo Vrenken wrote: > Hi all, > > We are trying to run melodic with 4D data. We started with a small > group of > 10 subjects and melodic ran successfully. Afterwards we increased > the number > of subjects step by step up to 147, but kept all the parameters the > same. > Although there are no memory or swap problems, melodic does not run > properly. Sometimes the html report says it is still running, while he > quitted doing that. Sometimes he stops running with an error > message. For > example: > > Reading data file > /sarb/MAGNIMS/workingdir/Hanife/Oxford/Patients/702/analysis/ > 1_A_alldata_testGeert.ica/reg_standard/filtered_func_data > ... done > Removing mean image ... done > terminate called after throwing an instance of 'std::bad_alloc' > what(): St9bad_alloc > > or > > /usr/local/bin/fsl/bin/fslmaths masksum -thr 79 -uthr 79 -bin -mul > maskunique maskunique > ** ERROR (nifti_image_read): failed to find header file for 'masksum' > ** ERROR: nifti_image_open(masksum): bad header info > Error: failed to open file masksum > Cannot open volume masksum for reading! > > /usr/local/bin/fsl/bin/overlay 0 0 ../bg_image -a maskunique 0.9 80 > maskunique_overlay > ** ERROR (nifti_image_read): failed to find header file for '../ > bg_image' > ** ERROR: nifti_image_open(../bg_image): bad header info > Error: failed to open file ../bg_image > ERROR: Could not open image ../bg_image > Image Exception : #22 :: Failed to read volume ../bg_image > terminate called after throwing an instance of > 'RBD_COMMON::BaseException' > > /usr/local/bin/fsl/bin/slicer maskunique_overlay -S 2 750 > maskunique_overlay.png > ** ERROR (nifti_image_read): failed to find header file for > 'maskunique_overlay' > ** ERROR: nifti_image_open(maskunique_overlay): bad header info > Error: failed to open file maskunique_overlay > ERROR: Could not open image maskunique_overlay > Image Exception : #22 :: Failed to read volume maskunique_overlay > terminate called after throwing an instance of > 'RBD_COMMON::BaseException' > > /bin/cp /usr/local/bin/fsl/etc/luts/ramp.gif .ramp.gif > > /usr/local/bin/fsl/bin/fslmaths mask -Tmin -bin mask -odt char > ** ERROR (nifti_image_read): failed to find header file for 'mask' > ** ERROR: nifti_image_open(mask): bad header info > Error: failed to open file mask > Cannot open volume mask for reading! > > /usr/local/bin/fsl/bin/melodic -i .filelist -o groupmelodic.ica -v -- > nobet > --bgthreshold=3 --tr=3.0 --report --guireport=../../report.html > --bgimage=bg_image --mmthresh=0.5 --Ostats -a tica > --Tdes=/sarb/MAGNIMS/workingdir/Hanife/Groups-Analysis/ > hemodynamic_response.feat/design.mat > --Tcon=/sarb/MAGNIMS/workingdir/Hanife/Groups-Analysis/ > hemodynamic_response.feat/design.con > --Sdes=/sarb/MAGNIMS/workingdir/Hanife/Groups-Analysis/GLMsetup.mat > --Scon=/sarb/MAGNIMS/workingdir/Hanife/Groups-Analysis/GLMsetup.con > > Melodic Version 3.05 > > Melodic results will be in groupmelodic.ica > > Create mask ... done > ** ERROR (nifti_image_read): failed to find header file for 'bg_image' > ** ERROR: nifti_image_open(bg_image): bad header info > Error: failed to open file bg_image > ERROR: Could not open image bg_image > Image Exception : #22 :: Failed to read volume bg_image > > An exception has been thrown > Failed to read volume bg_imageTrace: read_volumeROI. > > or > > Reading data file > /sarb/MAGNIMS/workingdir/Hanife/London/Patients/502/analysis/ > 1_A_alldata_2nd_testGeert.ica/reg_standard/filtered_func_data > ... done > Removing mean image ... done > terminate called after throwing an instance of 'std::bad_alloc' > what(): St9bad_alloc > > > Kind regards > Hanife & Hugo