radian icon indicating copy to clipboard operation
radian copied to clipboard

High RAM issue in VSC (Mac OS)

Open itsmevictor opened this issue 1 year ago • 1 comments

For starters, my specifications are the following:

  • Mac OS Sonoma 14.0, with 32GB RAM.
  • Visual Studio Code 1.84.0
  • Radian 0.6.8 through miniconda3 with python 3.11.4
  • R 4.3.2

My main problem is that of very high RAM usage in VSC linked to Radian.

When running virtually any R code through Radian, the memory usage skyrockets. When exploring VSC's processes, the entry "ptyhost" that has for unique object /Users/victor/miniconda3/bin/python /Users/victor/miniconda3/bin/radian --no-save --no-restore takes pretty much all of it. Reading a parquet file and running a few mutates for instance leads to 8GB memory usage. When exploring the issue in Mac OS activity monitor, it appears that python 3.11 (which, I understand, provides the backend for radian) takes all my laptop's RAM.

Happy to answer any questions and run anything that can help troubleshooting this. Many thanks.

itsmevictor avatar Nov 02 '23 10:11 itsmevictor

To ease the troubleshooting, let me add that disabling all extensions except the R extension that allows you to run R in VSC does not change anything.

itsmevictor avatar Nov 02 '23 10:11 itsmevictor