Re: [R] Problem in executing R on server

From: Ray Brownrigg <Ray.Brownrigg_at_mcs.vuw.ac.nz>
Date: Fri, 06 Jun 2008 17:06:17 +1200

On Fri, 06 Jun 2008, Jason Lee wrote:
> Hi
>
>
> Rolf: SessionInfo() on my server gives me :-
>
> R version 2.7.0 (2008-04-22)
> x86_64-redhat-linux-gnu
>
> locale:
> LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-
>8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_AD
>DRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> On my Pc it gives me:-
>
> > sessionInfo()
>
> R version 2.5.1 (2007-06-27)
> i486-pc-linux-gnu
>
> locale:
> LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-
>8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NA
>ME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATIO
>N=C
>
> attached base packages:
> [1] "stats" "graphics" "grDevices" "utils" "datasets" "methods"
> [7] "base"
>
>
> Ray:
> The ulimit command gives me:-
> core file size (blocks, -c) 0
> data seg size (kbytes, -d) unlimited
> max nice (-e) 0
> file size (blocks, -f) unlimited
> pending signals (-i) 257579
> max locked memory (kbytes, -l) 32
> max memory size (kbytes, -m) unlimited
> open files (-n) 1024
> pipe size (512 bytes, -p) 8
> POSIX message queues (bytes, -q) 819200
> max rt priority (-r) 0
> stack size (kbytes, -s) 10240
> cpu time (seconds, -t) unlimited
> max user processes (-u) 257579
> virtual memory (kbytes, -v) 300000
> file locks (-x) unlimited
>
> Is that because of Virtual memory? Because the above figure gives only 300
> 000 KB while in my Pc it is Unlimited.
>
>
> Please advise. Thanks.

Well, I thought you might be able to work this out yourself, and at least try to make both stacksize and virtual memory unlimited. See man ulimit.

Ray

> On Fri, Jun 6, 2008 at 2:49 PM, Ray Brownrigg <Ray.Brownrigg@mcs.vuw.ac.nz>
>
> wrote:
> > 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.



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. Received on Fri 06 Jun 2008 - 07:38:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 06 Jun 2008 - 08:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive