search for: 1165mb

Displaying 1 result from an estimated 1 matches for "1165mb".

Did you mean: 115mb
2005 May 30
3
rbind wastes memory
...wastes memory and seems to "forget" to release memory. For example I have 10 files. Each file contains a large dataframe "ds" (3500 cols by 800 rows) which needs ~20 MB RAM if it is loaded as the only object. Now I try to bind all data frames to a large one and need more than 1165MB (!) RAM (To simplify the R code, I use the same file ten times): ________ start example 1 __________ load(myFile) ds.tmp <- ds for (Cycle in 1:10) { ds.tmp <- rbind(ds.tmp, ds) } ________ end example 1 __________ Stepping into details I found the following (comment shows RAM us...