Memory when running R shiny applications

Hi Team,

I see/heard that, lots of memory is consumed in R shiny applications (while running) . Just what to check if this true.

I saw see that Python(Flask) takes low memory? Not sure which is true

Any experts here please guide me here

Regards
Vinay

it depends on your code.
In computing there is no free lunch, so there are tradeoffs to be made between memory/compute time etc. ; One has the option of focusing towards memory optimisation and do quite well with R shiny.

I've recently had an experience myself of developing an App without having had memory as a partular concern, and now having to rearchitect parts to be more memory efficient.

Great. Can I have any material if any on memory optimisation in shiny?

understanding that R's memory model is copy on modify
https://adv-r.hadley.nz/names-values.html?q=immutable#copy-on-modify
discussion of general R performance issues
https://adv-r.hadley.nz/perf-measure.html
discussion of performance in the shiny book

1 Like

This topic was automatically closed 42 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.