Bug 16208 - Rgui.exe continues to use 100% CPU core after exitting if any packages are installed or upgraded.
Summary: Rgui.exe continues to use 100% CPU core after exitting if any packages are in...
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Windows GUI / Window specific (show other bugs)
Version: R 3.1.2
Hardware: Other Other
: P5 enhancement
Assignee: R-core
Depends on:
Reported: 2015-02-12 17:37 UTC by matej.horvat
Modified: 2015-10-07 07:29 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description matej.horvat 2015-02-12 17:37:39 UTC
In my case it is almost 100% reproducible by doing the following step of actions:

1. Start Rgui.exe
2. Update some packages by update.packages(ask=F, checkBuilt=T)
3. Minimize the R gui during downloading of package files or move to another virtual screen (I'm using VirtuaWin)
4. Exit R by either typing quit() in the console or by presing the X button on the main window

When step 4 is finished, the Rgui.exe process will continue to use 100% of one CPU core until terminated from task monitor.

I'm not sure if step 3. above is relevant or not, but that is my typical use case.

I've found an ancient record that describes the same behavior: http://grokbase.com/t/r/r-help/0353emb90w/r-memory-leakage
Comment 1 matej.horvat 2015-10-01 09:55:44 UTC
Still happening on R 3.2.2.
Comment 2 matej.horvat 2015-10-07 07:29:18 UTC
One additional observation. If I wait 10 seconds or more before closing Rgui.exe after upgrading of packages the process exits as expected. No aberrant continual CPU usage happens.