Replies: 5 comments 1 reply
-
In this case the code is running a spatial operation using |
Beta Was this translation helpful? Give feedback.
-
Ran it again monitoring memory usage in the Task Manager. The paging file usage is clearly building over time and is good evidence that R is not giving up memory. Will also try running it via WSL and see if I still see the same pattern. |
Beta Was this translation helpful? Give feedback.
-
Similar behaviour in WSL |
Beta Was this translation helpful? Give feedback.
-
I have been getting good behaviour with:
Bad behaviour is running with |
Beta Was this translation helpful? Give feedback.
-
To create a reprex, it may help to replace the |
Beta Was this translation helpful? Give feedback.
-
Help
Description
I have a large dynamic target that errors out, complaining about not enough memory. I suspect something is going wrong with the system giving memory back when targets are done.
_targets.R contains:
No reprex yet - I'm looking for guidance on how I might construct that in this instance.
I first run it without crew; it goes fine for a while getting through around 20 chunks out of 1000, ending in the following error:
I then run it again (same code) and the one that errored completes very fast.
Any ideas on how to create a reprex for this situation (suspected memory issue)?
I'm on Windows 11 and
targets 1.6.0.9001 2024-04-09 [1] Github (ropensci/targets@fd96c4e)
.Beta Was this translation helpful? Give feedback.
All reactions