Open GoogleCodeExporter opened 9 years ago
Looks like you're running out of memory. How much memory do you have? Did you
try without the parallel build?
Original comment by sloriot...@gmail.com
on 24 Mar 2014 at 7:07
I guess it was not the memory problem. Because my memory is 4GB, but the
compiling procedure used less than 2G, and then it stopped.
Finally I removed the Mesh_3 from compiling, and then it's ok.
Maybe there are any problems in Mesh_3?
Sorry, I don't know how to build parallel...
Original comment by kate.yan...@gmail.com
on 24 Mar 2014 at 7:32
remove -j 4
Original comment by sloriot...@gmail.com
on 24 Mar 2014 at 7:47
still not working. There are logs.
> make
...
[ 81%] Built target CGAL_AABB_tree
[ 83%] Built target CGAL_Surface_mesher_cpp
[ 87%] Built target CGAL_Surface_mesher
Scanning dependencies of target CGAL_Mesh_3_cpp
[ 88%] Building CXX object
SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3_cpp.dir/Object.cpp.o
Linking CXX shared library ../../lib/libCGAL_Mesh_3_cpp.so
[ 88%] Built target CGAL_Mesh_3_cpp
[ 90%] Swig source
Scanning dependencies of target CGAL_Mesh_3
[ 92%] Building CXX object
SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3.dir/CGAL_Mesh_3JAVA_wrap.cxx.o
virtual memory exhausted: Cannot allocate memory
make[2]: ***
[SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3.dir/CGAL_Mesh_3JAVA_wrap.cxx.o] Error 1
make[1]: *** [SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3.dir/all] Error 2
make: *** [all] Error 2
Original comment by kate.yan...@gmail.com
on 24 Mar 2014 at 7:58
What is the output of ulimit -a?
Original comment by sloriot...@gmail.com
on 24 Mar 2014 at 8:15
The output is below. At beginning, I thought it may be the virtual memory
problem. So I had already set virtual memory to unlimited. But it doesn't work.
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 30541
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 30541
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Original comment by kate.yan...@gmail.com
on 24 Mar 2014 at 8:18
Original issue reported on code.google.com by
kate.yan...@gmail.com
on 18 Mar 2014 at 6:53