[Insight-users] Failed to allocate memory

Luis Ibanez luis.ibanez at kitware.com
Thu Mar 27 16:13:13 EDT 2008


Hi Sajendra,



The Status of ITK in Windows 64 is the following:


1) ITK builds Nightly on "redwall.kitware", which
    is a Windows 64bits, running Windows Vista and
    Visual Studio 2005.

    The build today has all 1306 unit test passing:
http://www.itk.org/Testing/Sites/redwall.kitware/Win64-Vista-vs8-Release/20080327-0100-Nightly/Test.html

    The compilation produces zero errors and 156 warnings,
    most of them in Third partylibraries:
http://www.itk.org/Testing/Sites/redwall.kitware/Win64-Vista-vs8-Release/20080327-0100-Nightly/BuildWarning.html



2) There are no specific CMake flags to enable.
    Simply select the compiler:

          "Visual Studio 2005 - 64bits"

    when you configure the build for the first
    time. Note the specific "64 bits" at the end.



3) I'm not sure about the option of cross-compiling.
    It may be possible. I know that CMake itself
    supports and facilitates cross-compilation, but
    I know of an effort at the Rensselaer Polytechnic
    Institute for cross-compiling ITK in order to run
    it in a BlueGene supercomputer, and that required
    several changes to CMakeLists.txt files.




To summarize:

     Yes, ITK is working on Windows 64 bits.

     Just configure with CMake and start
     enjoying ITK   :-)



Please let us know if you encounter any problems.


    Thanks


      Luis



--------------------------------
Nithiananthan, Sajendra wrote:
> Hi Luis and others,
> 
> What is the current status of ITK on 64bit windows? I found this post from a
> year ago indicating (at the time) that there might still be problems:
> http://public.kitware.com/pipermail/insight-users/2007-February/021058.html
> 
> Also, is there any CMake flags that need to be enabled to compile ITK for 64
> bits or is it sufficient to just compile it on a 64 bit machine? I assume
> there is no way to cross-compile it from 32bit Windows for a 64 bit machine?
> 
> Thank you
> Sajendra
> 
> 
> 
>>-----Original Message-----
>>From: insight-users-bounces at itk.org
>>Subject: Re: [Insight-users] Failed to allocate memory
>>
>>
>>Hi Zhihong,
>>
>>
>>It is not surprising that you are encountering memory
>>allocation problems for this example given the size
>>of your images.
>>
>>
>>Here is a short account of memory usage in the example
>>
> 
> 
> 
>>This amounts to:                        5593 Mb
>>
>>        or about:                        5.46 Gb
>>
>>
>>If you are using Windows 32 bits, you are limited
>>to 2Gb for any given process.
>>
>>You would need a 64 bits machine with at least 6Gb
>>in order to run this example in its current form.
>>Preferably 8 Gb, since the operating system will
>>take some RAM.
>>
>>
>>
>>     Regards,
>>
>>
>>         Luis
> 
>  
> 
> This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list