[jira] [Issue Comment Deleted] (MESOS-3216) virtual memory exhausted:: Cannot allocate memory

2019-04-29 Thread Gavin (JIRA)


 [ 
https://issues.apache.org/jira/browse/MESOS-3216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gavin updated MESOS-3216:
-
Comment: was deleted

(was: www.rtat.net)

> virtual memory exhausted:: Cannot allocate memory
> -
>
> Key: MESOS-3216
> URL: https://issues.apache.org/jira/browse/MESOS-3216
> Project: Mesos
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0
> Environment: Linux Kudu 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 
> 21:17:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> (Ubuntu 15.04)
>Reporter: Samuel Marks
>Assignee: haosdent
>Priority: Major
>
> After receiving this error when building on a virtual instance, I decided to 
> build a package using https://github.com/deric/mesos-deb-packaging.
> Here is the last little bit of the output after running {{./build_mesos --ref 
> 0.23.0 --build-version p1}}:
> {code}
> mv -f common/.deps/libmesos_no_3rdparty_la-http.Tpo 
> common/.deps/libmesos_no_3rdparty_la-http.Plo
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"mesos\" 
> -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.23.0\" 
> -DPACKAGE_STRING=\"mesos\ 0.23.0\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.23.0\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 
> -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 
> -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 
> -DHAVE_LIBSASL2=1 -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" 
> -DMESOS_HAS_PYTHON=1 -I. 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/src   -Wall 
> -Werror -DLIBDIR=\"/usr/lib\" -DPKGLIBEXECDIR=\"/usr/libexec/mesos\" 
> -DPKGDATADIR=\"/usr/share/mesos\" 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/include 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/3rdparty/libprocess/include
>  
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/3rdparty/libprocess/3rdparty/stout/include
>  -I../include -I../include/mesos 
> -I../3rdparty/libprocess/3rdparty/boost-1.53.0 
> -I../3rdparty/libprocess/3rdparty/picojson-4f93734 
> -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
> -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include 
> -I../3rdparty/zookeeper-3.4.5/src/c/generated 
> -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
> -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0  
> -pthread -O2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 
> -MT master/allocator/libmesos_no_3rdparty_la-allocator.lo -MD -MP -MF 
> master/allocator/.deps/libmesos_no_3rdparty_la-allocator.Tpo -c -o 
> master/allocator/libmesos_no_3rdparty_la-allocator.lo `test -f 
> 'master/allocator/allocator.cpp' || echo 
> '/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/src/'`master/allocator/allocator.cpp
> libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" 
> -DPACKAGE_VERSION=\"0.23.0\" "-DPACKAGE_STRING=\"mesos 0.23.0\"" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" 
> -DVERSION=\"0.23.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_PRIO_INHERIT=1 
> -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 -DHAVE_APR_POOLS_H=1 
> -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 
> -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBSASL2=1 
> -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/src -Wall 
> -Werror -DLIBDIR=\"/usr/lib\" -DPKGLIBEXECDIR=\"/usr/libexec/mesos\" 
> -DPKGDATADIR=\"/usr/share/mesos\" 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/include 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/3rdparty/libprocess/include
>  
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/3rdparty/libprocess/3rdparty/stout/include
>  -I../include -I../include/mesos 
> -I../3rdparty/libprocess/3rdparty/boost-1.53.0 
> -I../3rdparty/libprocess/3rdparty/picojson-4f93734 
> -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
> 

[jira] [Issue Comment Deleted] (MESOS-3216) virtual memory exhausted:: Cannot allocate memory

2016-05-29 Thread Michal Cwienczek (JIRA)

 [ 
https://issues.apache.org/jira/browse/MESOS-3216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michal Cwienczek updated MESOS-3216:

Comment: was deleted

(was: ibtool: compile:  g++ -DPACKAGE_NAME=\"libprocess\" 
-DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\" 
"-DPACKAGE_STRING=\"libprocess 0.0.1\"" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 
-DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 
-DHAVE_LIBCURL=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 
-DHAVE_LIBDL=1 -I. -I../../../3rdparty/libprocess 
-DBUILD_DIR=\"/home/vagrant/mesos-0.28.1/build/3rdparty/libprocess\" 
-I../../../3rdparty/libprocess/include 
-I../../../3rdparty/libprocess/3rdparty/stout/include -isystem 
3rdparty/boost-1.53.0 -I3rdparty/libev-4.15 -I3rdparty/picojson-1.3.0 
-DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -I3rdparty/glog-0.3.3/src 
-I3rdparty/ry-http-parser-1c3624a -I/usr/include/subversion-1 
-I/usr/include/apr-1 -I/usr/include/apr-1.0 -g1 -O0 -Wno-unused-local-typedefs 
-std=c++11 -MT libprocess_la-poll_socket.lo -MD -MP -MF 
.deps/libprocess_la-poll_socket.Tpo -c 
../../../3rdparty/libprocess/src/poll_socket.cpp  -fPIC -DPIC -o 
libprocess_la-poll_socket.o
./libtool: line 1762: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
mv -f .deps/libprocess_la-poll_socket.Tpo .deps/libprocess_la-poll_socket.Plo
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ 
-DPACKAGE_NAME=\"libprocess\" -DPACKAGE_TARNAME=\"libprocess\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"libprocess\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" 
-DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 
-DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 
-DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBCURL=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 
-DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBDL=1 -I. 
-I../../../3rdparty/libprocess  
-DBUILD_DIR=\"/home/vagrant/mesos-0.28.1/build/3rdparty/libprocess\" 
-I../../../3rdparty/libprocess/include 
-I../../../3rdparty/libprocess/3rdparty/stout/include -isystem 
3rdparty/boost-1.53.0 -I3rdparty/libev-4.15 -I3rdparty/picojson-1.3.0 
-DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS  -I3rdparty/glog-0.3.3/src 
-I3rdparty/ry-http-parser-1c3624a  -I/usr/include/subversion-1 
-I/usr/include/apr-1 -I/usr/include/apr-1.0   -g1 -O0 
-Wno-unused-local-typedefs -std=c++11 -MT libprocess_la-profiler.lo -MD -MP -MF 
.deps/libprocess_la-profiler.Tpo -c -o libprocess_la-profiler.lo `test -f 
'src/profiler.cpp' || echo '../../../3rdparty/libprocess/'`src/profiler.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"libprocess\" 
-DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\" 
"-DPACKAGE_STRING=\"libprocess 0.0.1\"" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 
-DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 
-DHAVE_LIBCURL=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 
-DHAVE_LIBDL=1 -I. -I../../../3rdparty/libprocess 
-DBUILD_DIR=\"/home/vagrant/mesos-0.28.1/build/3rdparty/libprocess\" 
-I../../../3rdparty/libprocess/include 
-I../../../3rdparty/libprocess/3rdparty/stout/include -isystem 
3rdparty/boost-1.53.0 -I3rdparty/libev-4.15 -I3rdparty/picojson-1.3.0 
-DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -I3rdparty/glog-0.3.3/src 
-I3rdparty/ry-http-parser-1c3624a -I/usr/include/subversion-1 
-I/usr/include/apr-1 -I/usr/include/apr-1.0 -g1 -O0 -Wno-unused-local-typedefs 
-std=c++11 -MT libprocess_la-profiler.lo -MD -MP -MF 
.deps/libprocess_la-profiler.Tpo -c 
../../../3rdparty/libprocess/src/profiler.cpp  -fPIC -DPIC -o 
libprocess_la-profiler.o
./libtool: line 1762: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
mv -f .deps/libprocess_la-profiler.Tpo .deps/libprocess_la-profiler.Plo
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ 
-DPACKAGE_NAME=\"libprocess\" -DPACKAGE_TARNAME=\"libprocess\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"libprocess\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" 

[jira] [Issue Comment Deleted] (MESOS-3216) virtual memory exhausted:: Cannot allocate memory

2015-10-27 Thread James Peach (JIRA)

 [ 
https://issues.apache.org/jira/browse/MESOS-3216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Peach updated MESOS-3216:
---
Comment: was deleted

(was: The build log looks like you are doing 3 compilation jobs. The script you 
reference is doing {{make -j $(($(num_cores)*2))}}.

You can use {{gcc -fmem-report}} to get more information about where the memory 
is going. You could also use a cross-compile toolchain (I haven't tested that 
Mesos can cross-build but it is well supported by automake).

IME building Mesos takes a lot more memory than building C codebases because of 
the heavy use of templates and header-only code.)

> virtual memory exhausted:: Cannot allocate memory
> -
>
> Key: MESOS-3216
> URL: https://issues.apache.org/jira/browse/MESOS-3216
> Project: Mesos
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0
> Environment: Linux Kudu 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 
> 21:17:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> (Ubuntu 15.04)
>Reporter: Samuel Marks
>
> After receiving this error when building on a virtual instance, I decided to 
> build a package using https://github.com/deric/mesos-deb-packaging.
> Here is the last little bit of the output after running {{./build_mesos --ref 
> 0.23.0 --build-version p1}}:
> {code}
> mv -f common/.deps/libmesos_no_3rdparty_la-http.Tpo 
> common/.deps/libmesos_no_3rdparty_la-http.Plo
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"mesos\" 
> -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.23.0\" 
> -DPACKAGE_STRING=\"mesos\ 0.23.0\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.23.0\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 
> -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 
> -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 
> -DHAVE_LIBSASL2=1 -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" 
> -DMESOS_HAS_PYTHON=1 -I. 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/src   -Wall 
> -Werror -DLIBDIR=\"/usr/lib\" -DPKGLIBEXECDIR=\"/usr/libexec/mesos\" 
> -DPKGDATADIR=\"/usr/share/mesos\" 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/include 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/3rdparty/libprocess/include
>  
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/3rdparty/libprocess/3rdparty/stout/include
>  -I../include -I../include/mesos 
> -I../3rdparty/libprocess/3rdparty/boost-1.53.0 
> -I../3rdparty/libprocess/3rdparty/picojson-4f93734 
> -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
> -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include 
> -I../3rdparty/zookeeper-3.4.5/src/c/generated 
> -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
> -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0  
> -pthread -O2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 
> -MT master/allocator/libmesos_no_3rdparty_la-allocator.lo -MD -MP -MF 
> master/allocator/.deps/libmesos_no_3rdparty_la-allocator.Tpo -c -o 
> master/allocator/libmesos_no_3rdparty_la-allocator.lo `test -f 
> 'master/allocator/allocator.cpp' || echo 
> '/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/src/'`master/allocator/allocator.cpp
> libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" 
> -DPACKAGE_VERSION=\"0.23.0\" "-DPACKAGE_STRING=\"mesos 0.23.0\"" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" 
> -DVERSION=\"0.23.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_PRIO_INHERIT=1 
> -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 -DHAVE_APR_POOLS_H=1 
> -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 
> -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBSASL2=1 
> -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/src -Wall 
> -Werror -DLIBDIR=\"/usr/lib\" -DPKGLIBEXECDIR=\"/usr/libexec/mesos\" 
> -DPKGDATADIR=\"/usr/share/mesos\" 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/include 
> -I/linked_replaced_actual_path/mesos-deb-packaging/mesos-repo/3rdparty/libprocess/include
>  
>