Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

How to avoid memory leakage when using reactiveFileReader() in Shiny?

$
0
0

I've built R shiny app, where I quite extensively use reactiveFileReader() to read saved data from a file. I've noticed that after some time, the server becomes very slow. After some research, I've found the GitHub issue saying that this might be caused by memory leak.

The issue was solved by using fastmap as a backing store for map class.

However, it is not clear for me, how to use fastmap with reactiveFileReader().

Any help on how to use fastmap with reactiveFileReader or any other method on how to avoid memory leakage here would be highly appreciated as I am currently surviving this by cron rebooting server 5 times a day.

Thank you.


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>