Compiler Out of Memory

I have a shiny app on my free posit account that worked great. I originally published it in 2023. The app has to compile TMB .cpp file as part of the install. Yesterday, I went to republish after making a spelling correction in one word, and now I get an out-of-memory error:

2025-10-21T14:24:14.050341+00:00 shinyapps[15810687]: using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0’
2025-10-21T14:24:14.058212+00:00 shinyapps[15810687]: g++ -std=gnu++17 -I"/opt/R/4.5.1/lib/R/include" -DNDEBUG -I"/usr/lib/R/TMB/include" -I"/usr/lib/R/RcppEigen/include" -DTMB_SAFEBOUNDS -DTMB_EIGEN_DISABLE_WARNINGS -DLIB_UNLOAD=R_unload_IRCR -DTMB_LIB_INIT=R_init_IRCR -DCPPAD_FRAMEWORK -I/usr/local/include -fpic -g -O2 -c IRCR.cpp -o IRCR.o
2025-10-21T14:24:27.045799+00:00 shinyapps[15810687]: g++: fatal error: Killed signal terminated program cc1plus
2025-10-21T14:24:27.053219+00:00 shinyapps[15810687]: compilation terminated.
2025-10-21T14:24:27.060368+00:00 shinyapps[15810687]: make: *** [/opt/R/4.5.1/lib/R/etc/Makeconf:211: IRCR.o] Error 1
2025-10-21T14:24:27.067355+00:00 shinyapps[15810687]: Warning: Error in TMB::compile: Compilation failed
2025-10-21T14:24:27.074218+00:00 shinyapps[15810687]: 54: stop
2025-10-21T14:24:27.085631+00:00 shinyapps[15810687]: 53: TMB::compile
2025-10-21T14:24:27.091392+00:00 shinyapps[15810687]: 52: server [/srv/connect/apps/IRCR/app.R#481]
2025-10-21T14:24:27.100221+00:00 shinyapps[15810687]: 15:
2025-10-21T14:24:27.106804+00:00 shinyapps[15810687]: 13: fn
2025-10-21T14:24:27.117834+00:00 shinyapps[15810687]: 8: retry
2025-10-21T14:24:27.125278+00:00 shinyapps[15810687]: 7: connect$retryingStartServer
2025-10-21T14:24:27.132144+00:00 shinyapps[15810687]: 6: eval
2025-10-21T14:24:27.139238+00:00 shinyapps[15810687]: 5: eval
2025-10-21T14:24:27.145117+00:00 shinyapps[15810687]: 4: eval
2025-10-21T14:24:27.150649+00:00 shinyapps[15810687]: 3: eval
2025-10-21T14:24:27.157088+00:00 shinyapps[15810687]: 2: eval.parent
2025-10-21T14:24:27.173287+00:00 shinyapps[15810687]: 1: local
2025-10-21T14:24:27.179083+00:00 shinyapps[15810687]: Error in TMB::compile("IRCR.cpp") : Compilation failed
2025-10-21T14:24:27.191917+00:00 shinyapps[15810687]: Container event from container-12592621: oom (out of memory)

Would anyone know what might have changed on the shinyapp.oi that now produces the error or have a suggestion what to explore? I am baffled.

Locally, the TMB DLL file created is only 13 MB.

Thanks.