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

I get an error when uploading the app. No errors in the R-terminal:

> shinyApp(ui, server)

Listening on http://127.0.0.1:6168





# An error has occurred

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

`Loading required package: clusterProfiler

clusterProfiler v3.16.0  For help: https://guangchuangyu.github.io/software/clusterProfiler

If you use clusterProfiler in published research, please cite:
Guangchuang Yu, Li-Gen Wang, Yanyan Han, Qing-Yu He. clusterProfiler: an R package for comparing biological themes among gene clusters. OMICS: A Journal of Integrative Biology. 2012, 16(5):284-287.

Attaching package: ‘clusterProfiler’

The following object is masked from ‘package:stats’:

    filter

Loading required package: org.Hs.eg.db
Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, basename, cbind, colnames,
    dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
    grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
    rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min

Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: IRanges
Loading required package: S4Vectors

Attaching package: ‘S4Vectors’

The following object is masked from ‘package:clusterProfiler’:

    rename

The following object is masked from ‘package:base’:

    expand.grid


Attaching package: ‘IRanges’

The following object is masked from ‘package:clusterProfiler’:

    slice


Attaching package: ‘AnnotationDbi’

The following object is masked from ‘package:clusterProfiler’:

    select


Loading required package: reshape2

Attaching package: ‘dplyr’

The following object is masked from ‘package:AnnotationDbi’:

    select

The following objects are masked from ‘package:IRanges’:

    collapse, desc, intersect, setdiff, slice, union

The following objects are masked from ‘package:S4Vectors’:

    first, intersect, rename, setdiff, setequal, union

The following object is masked from ‘package:Biobase’:

    combine

The following objects are masked from ‘package:BiocGenerics’:

    combine, intersect, setdiff, union

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union


Attaching package: ‘tidyr’

The following object is masked from ‘package:reshape2’:

    smiths

The following object is masked from ‘package:S4Vectors’:

    expand

Loading required package: edgeR
Loading required package: limma

Attaching package: ‘limma’

The following object is masked from ‘package:BiocGenerics’:

    plotMA

Loading required package: ggpubr
Loading required package: enrichplot

Attaching package: ‘enrichplot’

The following object is masked from ‘package:ggpubr’:

    color_palette

Bioconductor version 3.11 (BiocManager 1.30.10), ?BiocManager::install for help`

Where is this shiny app being deployed to?

Other than the code 137, I don't see an issue with your packages, just informational messages.

I've seen this error message occur where the application attempts to use more memory than is available to it on shinyapps.io

If you're working with shinyapps.io, that solution points to a section in the user-guide on memory.
You can see if you ran out of memory by looking at the shiny logs, Shiny Server Error Logs. I'd expect to see a message like "Out of memory" there.

If that is the cause of this issue, you can increase the memory available or possibly retool the app to use less memory.

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