Installing tensorflow in virtual env while deploying throws "out of memory"

Hello,
When deploying a shiny app using reticulate... the app gets deployed, but doesn't load.
In the app logs I have the below. It iseems that the problem pops up during installation of tensorflow. Do I need to pay in order to have memory?

2020-12-27T18:50:42.157991+00:00 shinyapps[3431374]: virtualenv: test_env
2020-12-27T18:50:42.158301+00:00 shinyapps[3431374]: Using virtual environment 'test_env' ...
2020-12-27T18:50:42.879069+00:00 shinyapps[3431374]: DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
2020-12-27T18:50:43.069586+00:00 shinyapps[3431374]: Requirement already satisfied: numpy in /home/shiny/.virtualenvs/test_env/lib/python3.5/site-packages (1.18.5)
2020-12-27T18:50:44.950793+00:00 shinyapps[3431374]: Collecting keras
2020-12-27T18:50:44.953561+00:00 shinyapps[3431374]:   Using cached Keras-2.4.3-py2.py3-none-any.whl (36 kB)
2020-12-27T18:50:45.346790+00:00 shinyapps[3431374]: Collecting scipy>=0.14
2020-12-27T18:50:45.557369+00:00 shinyapps[3431374]:   Using cached scipy-1.4.1-cp35-cp35m-manylinux1_x86_64.whl (26.0 MB)
2020-12-27T18:50:45.685782+00:00 shinyapps[3431374]: Collecting tensorflow
2020-12-27T18:50:46.430805+00:00 shinyapps[3431374]:   Downloading tensorflow-2.3.1-cp35-cp35m-manylinux2010_x86_64.whl (320.4 MB)
2020-12-27T18:50:49.403329+00:00 shinyapps[system]: Out of memory!
2020-12-27T18:50:49.355116+00:00 shinyapps[3431374]: Killed

Thanks,
Pedro