Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High RAM issue in VSC (Mac OS) #444

Open
itsmevictor opened this issue Nov 2, 2023 · 1 comment
Open

High RAM issue in VSC (Mac OS) #444

itsmevictor opened this issue Nov 2, 2023 · 1 comment

Comments

@itsmevictor
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant