Closed wlandau closed 1 year ago
Try this out with plain R and compare. When I ran this, my htop started at 300M and ended at 3.55G.
data <- data.frame(col1 = c("a", "b", "c"), col2 = c(1, 2, 3)) |>
list() |>
rep(x=_, 3e6)
tmp <- tempfile()
saveRDS(data, tmp)
loaded <- readRDS(tmp)
gc()
loaded <- readRDS(tmp)
gc()
Yup, I see a similar result on my machine. That's odd, I thought I explained https://github.com/ropensci/targets/discussions/1116.
When I load the same object with
qread()
twice,htop
seems to report extra memory usage.