Opened 13 years ago
Last modified 12 years ago
#8838 closed defect
Compiling Boost C++ libraries with 8 threads causes VM to reboot — at Initial Version
Reported by: | Ken Yee | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.0.6 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Windows |
Description
VM is 64-bit Debian Squeeze running in 32-bit Vista host. Give the VM 768MB-1.3GB of memory (tried varying it to see if it would help) and run the following command to build the Boost C++ libraries:
bjam --prefix=/usr/local -j 8 --without-mpi --without-python cxxflags=--no-strict-aliasing toolset=gcc variant=release --layout=tagged link=static,shared threading=single,multi -d 2
Doing -j 2 or using the default of 1 thread seems to work fine. The VM should give an out of memory error instead of what it does now. Eventually, the Boost build will lock up so the screen in the VM goes black and your cursor is sometimes visible. Other times, the VM will spontaneously reboot. One time, I saw VirtualBox totally crash.
I think this is happening because compiling w/ multiple gcc threads is very memory and it runs out of memory. Swap is set to 720MB but it doesn't seem to be used much.
Change History (1)
by , 13 years ago
Attachment: | debtest_6x64-2011-05-03-14-09-18.BoostCompileHang.log added |
---|