My RStudio has been crashing quite a bit at random times. I finally found a reproducible reason for it to crash. When there is code running, if I click save on a file, the whole thing crashes. About 99% of the time it crashes immediately on file save, but occasionally it will throw some random error and Rstudio will not fully crash. This rare non-crashing but error instead behavior only seems to occur if I am running a package that throws things to C in the background and the error occurs immediately after C sends the code back to R. The errors usually revolve around memory issues, but they are not the same across occasions (and the code runs fine if I do not save a file while it is running).
Is this a known bug? Are there workarounds? I can, of course, only save files when there is no code actively running, but I save files compulsively... The problem exists on multiple machines that are managed by different organizations (and so have different configurations and versions of Rstudio). Then, this does not seem to be the result of a specific configuration. Therefore, I'm assuming this is a known problem but a bit of searching has not uncovered others complaining about it... I can post machine configurations if this is not a known issue.
Thanks!