Skip to content
Prev 6883 / 10988 Next

[Rcpp-devel] RcppEigen needs 1GB memory to compile

Is this really the important thing? Seems like -g0 saves disk space, not memory?
(Loading the symbols into a debugger may require lots of memory, but that
is not the issue here.)

Header-only C++ packages require the compiler to effectively process one
huge source file instead of a bunch of smaller ones, thus the need for a
huge amount of memory in some cases. The suggestion to drop -pipe
might be helpful since it pushes more of the resource use from memory
to disk.
On Mon, Dec 2, 2013 at 2:52 PM, Douglas Bates <bates at stat.wisc.edu> wrote: