I've encountered a bug today that I've seen in the forum, but strangely most reported in R ver. 4.2, while mine in 4.1.3.
After dealing with a big task, the IDE turned slow, and I restarted the computer. Then the problem showed up as described in my title, session panel seemed to freeze, but when I checked the task management. CPU usage of R session is relatively high, and memory consumption is even slowly growing.
But when I open R GUI or other IDE (VS Code for example), nothing happened, and R code runs smoothly.
I've tried uninstalling and reinstalling the R / Rtools / Rstudio and reboot the system more than once, but it does no help.
My session info is as follows. I get se session info in vs code, don't if it helps:
R version 4.1.3 (2022-03-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Matrix products: default
 LC_COLLATE=Chinese (Simplified)_China.936
 LC_CTYPE=Chinese (Simplified)_China.936
 LC_MONETARY=Chinese (Simplified)_China.936
 LC_TIME=Chinese (Simplified)_China.936
attached base packages:
 stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
 compiler_4.1.3 cli_3.3.0 jsonlite_1.8.0 rlang_1.0.2
Thanks in advance for any help to provide.
I wait the Rstudio for about 10 minutes, and it unfreezes, but the
Qt_webengine takes nearly 1 Gig of memory.
I then restarted the session, and the problem still disappear. But when I relaunched Rstudio, the problem showed again.