[R] "Negative memory size": -1012.854

Søren Højsgaard Soren.Hojsgaard at agrsci.dk
Tue May 6 18:52:34 CEST 2008


Dear all,
With R.2.7.0 (on windows XP) I have encountered what seems to be a "negative memory size". If I use gc() afterwards the R goes down. I use R_alloc for *most* memory allocations in my C-routines: 
 
> memory.size()
[1] 11.08132
> dyn.load("rconipm.dll")
.... 
> dyn.unload("rconipm.dll")
> memory.size()
[1] -1012.854

Has anybody encountered similar problems? (It all worked well under R.2.6.2, but I am of course not blaming R for failing).
 
Regards
Søren



More information about the R-help mailing list