RStudio Memory usage

I'm noticing RStudio using large amounts of system memory and slowing to a crawl if I try to host a run a local server using blogdown. Is anybody else having this issue?

 Sys.info()
       sysname        release        version       nodename        machine 
     "Windows"       "10 x64"  "build 16299" "UMN201355617"       "x86-64" 
         login           user effective_user 
    "damia025"     "damia025"     "damia025" 
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] compiler_3.5.1  backports_1.1.2 bookdown_0.7    rprojroot_1.3-2
 [5] htmltools_0.3.6 tools_3.5.1     yaml_2.2.0      Rcpp_1.0.0     
 [9] rmarkdown_1.10  blogdown_0.9    knitr_1.20      xfun_0.4       
[13] digest_0.6.18   evaluate_0.12  

On Mojave, I notice it less in RStudio than I do in the plain R GUI. The underlying issue, I think, is that R just doesn't have very good garbage collection, and after a long session in R, I notice that my free RAM is down to the millions of megabytes. That's when it's time to quit, use a utility to free memory, and restart. Because RStudio runs on top of R, I'd expect long, heavy usage to show the same behavior. But I'm a mere user, not an engineer, and I could be wrong about this, as about so much else.

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