Hi R-listers, I have problem in executing my R on server. It returns me Error: cannot allocate vector of size 15.8 Mb each time when i execute R on the server. But it doesnt give me any problem when i try executing on my own Pc (except it runs extremely slow). Any pointers to this? I tried to read the FAQ on this issue before in the archive but it seems there is no one solution to this. I tried to simplified my code but it seems the problem is still the same. Please advise. Thanks. [[alternative HTML version deleted]]
Jason Lee wrote:> Hi R-listers, > > I have problem in executing my R on server. It returns me > > Error: cannot allocate vector of size 15.8 Mb > > each time when i execute R on the server. But it doesnt give me any problem > when i try executing on my own Pc (except it runs extremely slow). > > Any pointers to this? I tried to read the FAQ on this issue before in the > archive but it seems there is no one solution to this.And that is because there is no one cause to this issue. I might guess your 'server' has less memory than your 'PC', but you didn't say anything your respective setups, or what you are even trying to do with R. I tried to> simplified my code but it seems the problem is still the same. > > > > Please advise. Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
On 6/06/2008, at 1:36 PM, Jason Lee wrote:> Hi R-listers, > > I have problem in executing my R on server. It returns me > > Error: cannot allocate vector of size 15.8 Mb > > each time when i execute R on the server. But it doesnt give me any > problem > when i try executing on my own Pc (except it runs extremely slow). > > Any pointers to this? I tried to read the FAQ on this issue before > in the > archive but it seems there is no one solution to this. I tried to > simplified my code but it seems the problem is still the same.Might it be the case that there is a .RData on the server which contains a god-awful huge object? You could try R --vanilla (I think that's the right flag!) or move .RData to (say) save.RData before trying to start R, and see what happens. cheers, Rolf Turner ###################################################################### Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
What does the limit (or "ulimit -a" in sh or bash) command (outside of R) respond with? In Solaris, there can be per-user limits to memory use. HTH, Ray Brownrigg On Fri, 06 Jun 2008, Jason Lee wrote:> Hi R-listers, > > I have problem in executing my R on server. It returns me > > Error: cannot allocate vector of size 15.8 Mb > > each time when i execute R on the server. But it doesnt give me any problem > when i try executing on my own Pc (except it runs extremely slow). > > Any pointers to this? I tried to read the FAQ on this issue before in the > archive but it seems there is no one solution to this. I tried to > simplified my code but it seems the problem is still the same. > > > > Please advise. Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html and provide commented, minimal, > self-contained, reproducible code.