-
Notifications
You must be signed in to change notification settings - Fork 287
Closed
Description
I'm building a system on a Ubuntu 16.04LTS base. On a 1024 MB (64-bit) virtual machine I get this:
> install.packages("readr")
Installing package into ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.3’
(as ‘lib’ is unspecified)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 191k 100 191k 0 0 505k 0 --:--:-- --:--:-- --:--:-- 505k
* installing *source* package ‘readr’ ...
** package ‘readr’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -I"/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.3/Rcpp/include" -I"/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.3/BH/include" -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c Collector.cpp -o Collector.o
virtual memory exhausted: Cannot allocate memory
/usr/lib/R/etc/Makeconf:141: recipe for target 'Collector.o' failed
make: *** [Collector.o] Error 1
ERROR: compilation failed for package ‘readr’
* removing ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.3/readr’
* restoring previous ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.3/readr’
The downloaded source packages are in
‘/tmp/RtmpnY2dFK/downloaded_packages’
Warning message:
In install.packages("readr") :
installation of package ‘readr’ had non-zero exit status
>
If I push the RAM up to 1536 MB it compiles. But if I enable two-job "make" it crashes again.
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
This is in a Vagrant box, so I can try various experiments.
Metadata
Metadata
Assignees
Labels
No labels