Re: [R] question about bigmemory: releasing RAM from a big.matrix that isn't used anymore

2010-02-06 Thread Matthew Keller
Hi Steve and other R folks, Thanks for the suggestion. No - that doesn't work. I meant to put that into my original email. To recap x - big.matrix(nrow=2,ncol=50,type='short',init=0,dimnames=list(1:2,1:50)) #Gets around the 2^31 issue - yay! #R takes 18 Gb RAM, so says top

Re: [R] question about bigmemory: releasing RAM from a big.matrix that isn't used anymore

2010-02-06 Thread Benilton Carvalho
Hi Matt, what's your sessionInfo()? Can you try installing bigmemory as follows: install.packages(bigmemory, repos=http://R-Forge.R-project.org;) it'll get you the latest version, in which I cannot reproduce the problem you're reporting (ie, after gc(), I get all the RAM back) b On Sat, Feb

Re: [R] question about bigmemory: releasing RAM from a big.matrix that isn't used anymore

2010-02-06 Thread Jay Emerson
See inline for responses. But people are always welcome to contact us directly. Hi all, I'm on a Linux server with 48Gb RAM. I did the following: x - big.matrix(nrow=2,ncol=50,type='short',init=0,dimnames=list(1:2,1:50)) #Gets around the 2^31 issue - yeah! We strongly

Re: [R] question about bigmemory: releasing RAM from a big.matrix that isn't used anymore

2010-02-06 Thread Matthew Keller
Hi Jay and Benilton, Thank you both for your help. When I do not use the dimnames argument, everything works fine: x - big.matrix(nrow=2e4,ncol=5e5,type='short',init=0) #18 Gb RAM used rm(x) #18 Gb RAM used gc() #no RAM used However, when I use dimnames, I get this problem, reproducibly: x -

[R] question about bigmemory: releasing RAM from a big.matrix that isn't used anymore

2010-02-05 Thread Matthew Keller
Hi all, I'm on a Linux server with 48Gb RAM. I did the following: x - big.matrix(nrow=2,ncol=50,type='short',init=0,dimnames=list(1:2,1:50)) #Gets around the 2^31 issue - yeah! in Unix, when I hit the top command, I see R is taking up about 18Gb RAM, even though the object x is

Re: [R] question about bigmemory: releasing RAM from a big.matrix that isn't used anymore

2010-02-05 Thread Steve Lianoglou
Hi, On Fri, Feb 5, 2010 at 9:24 PM, Matthew Keller mckellerc...@gmail.com wrote: Hi all, I'm on a Linux server with 48Gb RAM. I did the following: x - big.matrix(nrow=2,ncol=50,type='short',init=0,dimnames=list(1:2,1:50)) #Gets around the 2^31 issue - yeah! in Unix, when