cannot install rcppeigen(oom error)

The reppeigen package cannot be installed when deploying the app. The error message I got it is the following:

2024-05-29T02:25:49.089609+00:00 shinyapps[12054189]: fastLm.cpp:105:67:   required from here
2024-05-29T02:25:49.094762+00:00 shinyapps[12054189]: ../inst/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
2024-05-29T02:25:57.039021+00:00 shinyapps[12054189]: g++: fatal error: Killed signal terminated program cc1plus
2024-05-29T02:25:57.044478+00:00 shinyapps[12054189]: compilation terminated.
2024-05-29T02:25:57.049219+00:00 shinyapps[12054189]: make: *** [/opt/R/4.3.2/lib/R/etc/Makeconf:200: fastLm.o] Error 1
2024-05-29T02:25:57.054204+00:00 shinyapps[12054189]: Container event from container-9630208: oom (out of memory)
2024-05-29T02:25:58.051794+00:00 shinyapps[12054189]: ERROR: compilation failed for package ‘RcppEigen’
2024-05-29T02:25:58.056536+00:00 shinyapps[12054189]: * removing ‘/usr/lib/R/RcppEigen’
2024-05-29T02:39:51.033666+00:00 shinyapps[12054189]: Container event from container-9630208: stop

It says the error is out of memory. does that mean upgrading to the paid plan will solve my problem when deploying? Do I have to stay on the paid plan after installing all of these packages just to maintain the app or can I switch back to the free version once the packages are installed?

Thanks a lot.

Seems like this is about shinyapps.io. I suggest you add a shinyapps.io tag to this forum post, so the right people will see it.

1 Like

I've upgraded the plan to basic. Still getting the same error.