[Rd] --max-vsize

From: Christophe Rhodes <csr21_at_cantab.net>
Date: Thu, 21 Jul 2011 19:53:09 +0100


Hi,

In both R 2.13 and the SVN trunk, I observe odd behaviour with the --max-vsize command-line argument:

  1. passing a largeish value (about 260M or greater) makes mem.limits() report NA for the vsize limit; gc() continues to report a value...
  2. ...but that value (and the actual limit) is wrong by a factor of 8.

I attach a patch for issue 2, lightly tested. I believe that fixing issue 1 involves changing the return convention of do_memlimits -- not returning a specialized integer vector, but a more general numeric; I wasn't confident to do that.

Please let me know if there's anything else I can do.

Best,

Christophe



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 21 Jul 2011 - 19:01:18 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Tue 26 Jul 2011 - 09:20:12 GMT.

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

list of date sections of archive