[Insight-users] A memory issue

John Drescher drescherjm at gmail.com
Fri Jan 20 09:49:50 EST 2012


> All my values are within 0 and 1 but I think I can quantisize those values
> between 0 and 255. I tried your suggestion on a smaller image (and hence  a
> smaller vector 512*512*22*125 <=> 671 MB with unsigned char) but it crashes
> when I instantiate 2 vectors (it works with 1). By the way I have a 8 GB of
> RAM and windows 7 64 bits. How can I fix this ?
>

Are you compiling for 64 bits? Remember if you compile a 32 bit
program I believe the limit will be 2GB or 3GB depending on if you use
the LARGEADDRESSAWARE link flag.

John


More information about the Insight-users mailing list