[R] Memory problem

2008-01-24 Thread Yoni Stoffman
Hi All, There is something I don't quite understand about R memory management. I have the following function function (AdGroupId) { print(memory.size()) channel <- odbcConnect("RDsn", uid = "", case = "tolower", pwd = "xx") Tree1 <- sqlQuery(channel, "exec SelectAdg

[R] R binary version with R_MEMORY_PROFILING

2008-01-23 Thread Yoni Stoffman
Hi all, Where can I find an R binary version (>2.4.0 ) for windows that compiled with R_MEMORY_PROFILING? Within our application we are experiencing serious problems with memory usage. And being able to use "Rprofmem" and "tracemem" command seems like our best option. Thanks, Yoni

[R] Memory Issue

2007-09-19 Thread Yoni Stoffman
Hi, I'm new to R and there is something I'm missing about how it uses memory. I'm doing a simple query (using RODBC package) and immediately set the data.frame to null close the connection/channel and explicitly call to the garbage collector (gc()) however when I look in the task monitor I see bo