Unable to Deploy Shiny App in shinyapps.io - The application failed to start (exited with code 137)

shinyappsio

#1

...I am very new to shiny apps and its deployment. I have built a shiny app on R studio and I am trying to deploy it on shinyapps.io however I am getting the following error

The application failed to start (exited with code 137).

Here is the error log file

2018-11-23T02:48:18.056719+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.057039+00:00 shinyapps[567296]: The following object is masked from ‘package:dplyr’:
2018-11-23T02:48:18.057041+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.057042+00:00 shinyapps[567296]:     select
2018-11-23T02:48:18.057043+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.067326+00:00 shinyapps[567296]: corrplot 0.84 loaded
2018-11-23T02:48:18.069922+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.069925+00:00 shinyapps[567296]: Attaching package: ‘corrplot’
2018-11-23T02:48:18.069926+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.070265+00:00 shinyapps[567296]: The following object is masked from ‘package:pls’:
2018-11-23T02:48:18.070266+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.070267+00:00 shinyapps[567296]:     corrplot
2018-11-23T02:48:18.070268+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.088589+00:00 shinyapps[567296]: Type 'citation("pROC")' for a citation.
2018-11-23T02:48:18.089531+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.089532+00:00 shinyapps[567296]: Attaching package: ‘pROC’
2018-11-23T02:48:18.089533+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.089875+00:00 shinyapps[567296]: The following objects are masked from ‘package:stats’:
2018-11-23T02:48:18.089876+00:00 shinyapps[567296]: 
2018-11-23T02:48:18.089877+00:00 shinyapps[567296]:     cov, smooth, var
2018-11-23T02:48:18.089878+00:00 shinyapps[567296]: 
2018-11-23T02:48:30.246592+00:00 shinyapps[system]: Out of memory!

It says that it ran out of memory!. What I don't know if it is out of memory on the host machine or on the shinyapps.io.

I understand that I am using a free version of the shinyapps.io and plan to buy a paid version but wanted to be sure if is because of running out of memory on shinyapps.io


#2

This problem occurs when your application attempts to use more memory than is available to it.

As indicated in the Shinyapps.io User Guide, you can solve this issue by increasing the instance size and running your application again.

If the problem persists even after you increase to maximum instance size (1 GB for free accounts), you need to upgrade your account.


#3

Thanks a lot for the response. I understand where the problem lies. I guess we would need to upgrade our account and we are lookout for the same. Once again thanks a lot for the response !!


#4

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: