FINNGEN / CohortOperationsViewer

Other
0 stars 0 forks source link

Analysis: CohortDiagnostics: view not working in docker #1

Closed javier-gracia-tabuenca-tuni closed 6 months ago

javier-gracia-tabuenca-tuni commented 7 months ago

Getting this error only in debian docker cointainer, but not in mac

when using cohort diagnostics CohortCounts

image

image

Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl, : RcallMethod: cannot determine object class

trace the error to sqlite in https://github.com/OHDSI/OhdsiShinyModules/blob/1c0db9e151e79b5789c7e458c31fbe4677333d19/R/cohort-diagnostics-shared.R#L90

javier-gracia-tabuenca-tuni commented 7 months ago

solution

add options(java.parameters = "-Xss3m") to app_run.r

https://github.com/rstudio/DT/issues/1024

javier-gracia-tabuenca-tuni commented 6 months ago

to be added to the ENTRYPOINT call in the dockerfile options(java.parameters = "-Xss4m")