[R] Issue with mcapply

Rainer M Krug Rainer at krugs.de
Thu Jun 11 12:54:28 CEST 2015


Again: please keep this on r-help!

AROONALOK PYNE <aroonalok.pyne at gmail.com> writes:

> Hi,
>
> My system has 4GB memory. On running htop command on linux terminal,  for
> c(9999999), a() runnnng on single cpu core showed stats for 100% cpu
> utilization. On reaching b(), the entire system hanged (no response and the
> cpu utilization froze at 100%, RAM utilization never crossed 1.5 GB)

Please read up on memory allocation in R. top (and htop) are not
appropriate to see if R has memory or not as vectors need to be
allocated in consecutive blocks.

There have been several questions about this on this list.

Cheers,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug

PGP: 0x0F52F982
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20150611/11b243b9/attachment.bin>


More information about the R-help mailing list