I have have c++ code in which I parallelize some Monte Carlo Simulations using Rcpp
and RcppParallel
's parallelFor
. The execution is, as expected, much faster then when using a non-parallel loop.
However, after running the code for a night or two, after stopping it. My computer is extremely slow. This persists even if I end/kill all R-processes and is only solved by a reboot.
Question: Since the problem only appears after running code for 1-2 days I cannot produce a MWE. I can also not see anything that clogs up my Computer in the Task-Manager (in fact, it typically shows that the task manager itself takes up most of the CPU). Any pointers on where to start looking for what's responsible for said issue?