bad alloc error when starting rstudio-server.service

Hi Everyone,

I recently build RStudio-server(VERSION 99.9.9) from source on our Linux Centos7 server and followed the installation instructions. When I attempt to start the rstudio-server.service it fails, and I receive the following error message from journalctl:

Oct 22 10:02:00 login4 systemd[1]: Starting RStudio Server...

Oct 22 10:02:00 login4 systemd[1]: Started RStudio Server.

Oct 22 10:02:00 login4 rserver[8118]: ERROR Unexpected exception: std::bad_alloc; LOGGED FROM: int main(int, char const) src/cpp/server/ServerMain.c**

Oct 22 10:02:00 login4 systemd[1]: rstudio-server.service: main process exited, code=exited, status=1/FAILURE

Oct 22 10:02:00 login4 killall[8120]: rserver: no process found

Oct 22 10:02:00 login4 systemd[1]: rstudio-server.service: control process exited, code=exited status=1

Oct 22 10:02:00 login4 systemd[1]: Unit rstudio-server.service entered failed state.

Oct 22 10:02:00 login4 systemd[1]: rstudio-server.service failed.

Oct 22 10:02:00 login4 systemd[1]: rstudio-server.service holdoff time over, scheduling restart.

Oct 22 10:02:00 login4 systemd[1]: Stopped RStudio Server.

Oct 22 10:02:00 login4 systemd[1]: start request repeated too quickly for rstudio-server.service

Oct 22 10:02:00 login4 systemd[1]: Failed to start RStudio Server.

Oct 22 10:02:00 login4 systemd[1]: Unit rstudio-server.service entered failed state.

Oct 22 10:02:00 login4 systemd[1]: rstudio-server.service failed.

It looks like the service is running out of memory when attempting to start rstudio then dies. I appreciate any advice you can give on the matter and please let me know if I should provide any other information.

Best,
Nicolas Alberti

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.