Check ulimit -m 

That's the max mem per process.

ulimit -m 0 

Maybe will help.

-- Pedro Paulo Jr 
E71 Nokia
-----Msg original-----
De: Jürgen Hänggi
Enviada:  01/07/2009 02:36:36
Para: Freesurfer Mailinglist
Assunto:  [Freesurfer] Cannot allocate memory / can't allocate region

Dear FS experts

I am using high resolution (0.75x0.75x0.75 mm) data within FS but the
following error occurred:

.......
vertex spacing 0.69 +- 0.21 (0.00-->6.06) (max @ vno 265258 --> 114262)
face area 0.19 +- 0.10 (0.00-->4.49)
mris_make_surfaces(49536) malloc: *** mmap(size=1355776) failed (error
code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
MRIalloc(937, 361, 612): could not allocate 1353028 bytes for 356th slice

000: dt: 0.0000, sse=4822516.5, rms=2.25
rms = 2.94, time step reduction 1 of 3 to 0.250...
043: dt: 0.2500, sse=4898456.5, rms=1.89
rms = 1.86, time step reduction 2 of 3 to 0.125...
044: dt: 0.2500, sse=5293477.5, rms=1.86
045: dt: 0.1250, sse=5277681.5, rms=1.76
046: dt: 0.1250, sse=5237215.5, rms=1.70
rms = 1.69, time step reduction 3 of 3 to 0.062...
047: dt: 0.1250, sse=5270459.0, rms=1.69
positioning took 16.1 minutes
inhibiting deformation at non-cortical midline structures...
correcting aseg with surfaces...
Cannot allocate memory
Darwin juergen-haenggis-mac-pro.local 9.7.0 Darwin Kernel Version 9.7.0: Tue
Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386

recon-all exited with ERRORS at Wed Jul  1 04:20:34 CEST 2009

[juergen-haenggis-mac-pro:subjects/roman_p_highres_div100/mri]

I am using FS 4.4, Mac OSX 10.5, 8 GB RAM, memoryuse unlimited, descriptors
8192

The process terminated before all RAM is active and no swap is used.

Any idea?

Thanks in advance
Regards
Jürgen

----------------------------------------------------------------------------
Juergen Haenggi
Ph.D. (Dr. des.)
Division Neuropsychology
Institute of Psychology
University of Zurich
Binzmuehlestrasse 14, PO Box 25
8050 Zurich, Switzerland
0041 44 635 73 97 (phone office)
0041 76 445 86 84 (phone mobile)
0041 44 635 74 09 (fax office)
BIN 4.D.04 (office room number)
j.haenggi[at]psychologie.uzh.ch (email)
http://www.psychologie.uzh.ch/neuropsy/ (website)
http://www.juergenhaenggi.ch (private website)

This e-mail (and any attachment/s) contains confidential and/or privileged
information. If you are not the intended recipient (or have received this
e-mail in error) please notify the sender immediately and destroy this
e-mail. Any unauthorised copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.
----------------------------------------------------------------------------




_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to