[R-sig-DB] RSQLite memory leak?

Bill Northcott w@northcott @end|ng |rom un@w@edu@@u
Sat Feb 24 06:06:05 CET 2007


I am using RSQLite 0.4-19 with R 2.4.1 on MacOS X 10.4.8.  Both R and  
RSQLite are compiled from source using Apple's compilers.

The following simple script:
library(DBI)
library(RSQLite)

drv <- dbDriver("SQLite")
con <- dbConnect(drv,trad_db)

dbDisconnect(con)
dbUnloadDriver(drv)

gives the output:
Warning message:
RS-DBI driver warning: (mgr->drvData was not freed (some memory leaked))

This seems to be a meaningful warning as when I run a real script  
with the same beginning and end a number of time R seems to get into  
trouble.

Bill Northcott




More information about the R-sig-DB mailing list