You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This dependency is not needed to run the tests--it is a developer dependency, only needed when you're editing the Rcpp code. So we could conditionally not install it if we're on CI.
The docker code around this changed in ARROW-6918 last week, around the time this started failing. The installation of this package was moved to a different part of the job, and it appears that MAKEVARS=-j8 was added. Maybe that's causing more memory to be used concurrently? (Also, I would be shocked if CircleCI gave us a VM with 8 cores, so this seems wasteful and should probably be tuned to whatever the current system has.)
Antoine Pitrou / @pitrou:
The message "cc1plus: out of memory allocating 65536 bytes after a total of 31866880 bytes" clearly means that the VM doesn't have enough memory. Perhaps we should make the MAKEVARS configurable or something, and use a lower number on Circle CI.
If R didn't have an entirely braindead build system, it would be able to choose the optimal number of cores by itself. I chose 8 because it worked well for my machine, but of course it won't be optimal for another machine...
Perhaps a R expert can suggest a better way to choose the number of cores. You know those experts better than I do :)
See https://circleci.com/gh/ursa-labs/crossbow/4006 for example. Failure looks like this:
Some thoughts:
This dependency is not needed to run the tests--it is a developer dependency, only needed when you're editing the Rcpp code. So we could conditionally not install it if we're on CI.
The docker code around this changed in ARROW-6918 last week, around the time this started failing. The installation of this package was moved to a different part of the job, and it appears that
MAKEVARS=-j8
was added. Maybe that's causing more memory to be used concurrently? (Also, I would be shocked if CircleCI gave us a VM with 8 cores, so this seems wasteful and should probably be tuned to whatever the current system has.)cc @pitrou @fsaintjacques
Reporter: Neal Richardson / @nealrichardson
Assignee: Neal Richardson / @nealrichardson
PRs and other links:
Note: This issue was originally created as ARROW-6957. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: