[Debian-med-packaging] Bug#613539: 64 bit GNU/kFreeBSD test

Dominique Belhachemi domibel at debian.org
Tue Apr 12 23:00:54 UTC 2011


Here is a test on a 64 bit GNU/kFreeBSD virtual machine.

### 1 ###
VM with 1GB memory.

The bottleneck seems to be the python wrapping for
"itkImageToImageFilterBPython". I am getting the error

     virtual memory exhausted: Cannot allocate memory

[ 22%] Building CXX object
Wrapping/WrapITK/Modules/Base/CMakeFiles/_BasePython.dir/wrap_itkImageToImageFilterBPython.o
cd /home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Wrapping/WrapITK/Modules/Base
&& /usr/bin/g++   -D_BasePython_EXPORTS -DSWIG_GLOBAL -Wno-deprecated
-Wno-deprecated  -ftemplate-depth-50 -Wall -Wno-deprecated -msse2 -w
-ftemplate-depth-50 -Wall -Wno-deprecated -msse2 -O3 -DNDEBUG -fPIC
-I/usr/lib/gdcm-2.0
-I/home/domibel/insighttoolkit-3.20.0/Code/Review/Statistics
-I/home/domibel/insighttoolkit-3.20.0/Code/Review
-I/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Utilities/vxl/core
-I/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Utilities/vxl/vcl
-I/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Utilities/vxl/v3p/netlib
-I/home/domibel/insighttoolkit-3.20.0/Utilities/vxl/core
-I/home/domibel/insighttoolkit-3.20.0/Utilities/vxl/vcl
-I/home/domibel/insighttoolkit-3.20.0/Utilities/vxl/v3p/netlib
-I/home/domibel/insighttoolkit-3.20.0/Utilities
-I/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Utilities
-I/home/domibel/insighttoolkit-3.20.0/Utilities/itkExtHdrs
-I/home/domibel/insighttoolkit-3.20.0/Utilities/nifti/znzlib
-I/home/domibel/insighttoolkit-3.20.0/Utilities/nifti/niftilib
-I/home/domibel/insighttoolkit-3.20.0/Utilities/expat
-I/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Utilities/expat
-I/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Utilities/DICOMParser
-I/home/domibel/insighttoolkit-3.20.0/Utilities/DICOMParser
-I/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Utilities/NrrdIO
-I/home/domibel/insighttoolkit-3.20.0/Utilities/NrrdIO
-I/home/domibel/insighttoolkit-3.20.0/Utilities/MetaIO
-I/home/domibel/insighttoolkit-3.20.0/Code/SpatialObject
-I/home/domibel/insighttoolkit-3.20.0/Code/Numerics/NeuralNetworks
-I/home/domibel/insighttoolkit-3.20.0/Code/Numerics/FEM
-I/home/domibel/insighttoolkit-3.20.0/Code/IO
-I/home/domibel/insighttoolkit-3.20.0/Code/Numerics
-I/home/domibel/insighttoolkit-3.20.0/Code/Common
-I/home/domibel/insighttoolkit-3.20.0/Code/BasicFilters
-I/home/domibel/insighttoolkit-3.20.0/Code/Algorithms
-I/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu
-I/usr/include/gdcm-2.0 -I/usr/include/vtk-5.6
-I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi
-I/usr/include/tcl8.5 -I/usr/include/python2.6
-I/usr/lib/jvm/default-java/include
-I/usr/lib/jvm/default-java/include/linux -I/usr/include/libxml2
-I/usr/include/freetype2
-I/home/domibel/insighttoolkit-3.20.0/Wrapping/WrapITK/Modules/Base
-o CMakeFiles/_BasePython.dir/wrap_itkImageToImageFilterBPython.o -c
/home/domibel/insighttoolkit-3.20.0/obj-x86_64-kfreebsd-gnu/Wrapping/WrapITK/Modules/Base/wrap_itkImageToImageFilterBPython.cxx


### 2 ###
VM with 4GB memory.

I am compiling the same object like before:
''wrap_itkImageToImageFilterBPython.o"

Here is the output of "top" over time
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1258 domibel  202   0 1487m 1.2g    0 R 99.4 31.9   0:40.32 cc1plus
 1258 domibel  202   0 1631m 1.4g    0 R 99.3 35.6   1:04.25 cc1plus
 1258 domibel  202   0 1902m 1.7g    0 R 99.7 42.5   1:37.20 cc1plus
 1258 domibel  202   0 1972m 1.7g    0 R 99.7 44.5   2:25.12 cc1plus
 1258 domibel  202   0 1645m 1.5g    0 R 99.4 39.1   3:31.01 cc1plus





More information about the Debian-med-packaging mailing list