Tmonster commented on issue #36907:
URL: https://github.com/apache/arrow/issues/36907#issuecomment-1655330070

   As far as further relevance, I believe the error comes from R garbage 
collection when everything is getting free'd. I have 16GB of memory which might 
be relevant.
   What's also interesting, is that the following order of combinations does 
not result in the error. So by first loading arrow, a different order of 
allocations occurs, and then garbage collection doesn't run into the error. 
   ```R
   requireNamespace("arrow")
   drv <- duckdb::duckdb()
   con <- DBI::dbConnect(drv)
   # Loading required namespace: arrow
   quit()
   # Save workspace image? [y/n/c]: n
   # Warning messages:
   # 1: Connection is garbage-collected, use dbDisconnect() to avoid this.
   # 2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or 
duckdb::duckdb_shutdown(drv) to avoid 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to