FreeOpcUa / freeopcua

Open Source C++ OPC-UA Server and Client Library
http://freeopcua.github.io/
GNU Lesser General Public License v3.0
701 stars 336 forks source link

Aloate Memmory Error #201

Open SimarglFox opened 7 years ago

SimarglFox commented 7 years ago

Debian amd64 latest version of Freeopcua cross compiller for armhf (gcc 4.9.2) cmake version 3.0.2 6gb RAM

Then i try to build project i have error alocate memory here is log:

[ 76%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/services_registry_factory.cpp.o [ 77%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/services_registry_impl.cpp.o [ 78%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/standard_address_space_part3.cpp.o [ 80%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/standard_address_space_part4.cpp.o [ 81%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/standard_address_space_part5.cpp.o

cc1plus: out of memory allocating 4064 bytes after a total of 3633590272 bytes

oroulet commented 7 years ago

yes this file is autogenerate and big... but people manage to compile it n raspberry with the right options

On Thu, 22 Sep 2016 at 13:51 SimarglFox notifications@github.com wrote:

Debian amd64 latest version of Freeopcua cross compiller for armhf (gcc 4.9.2) cmake version 3.0.2 6gb RAM

Then i try to build project i have error alocate memory here is log:

[ 76%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/services_registry_factory.cpp.o [ 77%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/services_registry_impl.cpp.o [ 78%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/standard_address_space_part3.cpp.o [ 80%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/standard_address_space_part4.cpp.o [ 81%] Building CXX object CMakeFiles/opcuaserver.dir/src/server/standard_address_space_part5.cpp.o

cc1plus: out of memory allocating 4064 bytes after a total of 3633590272 bytes

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FreeOpcUa/freeopcua/issues/201, or mute the thread https://github.com/notifications/unsubscribe-auth/ACcfzkcUtB1LTBLfp7Ajabs_BAwe0Sjdks5qsmu_gaJpZM4KDzeL .

SimarglFox commented 7 years ago

Can you say this configurating?