[Rd] invalid regular expression after many grep's (PR#691)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Wed, 11 Oct 2000 17:32:15 +0200 (MET DST)


> From: jutans@utans.u-net.com
> Date: Wed, 11 Oct 2000 17:10:31 +0200 (MET DST)
> To: r-devel@stat.math.ethz.ch
> Subject: [Rd] invalid regular expression after many grep's (PR#691)
> CC: R-bugs@biostat.ku.dk
> X-Loop: R-bugs@biostat.ku.dk
> 
> Full_Name: J Utans
> Version: 1.1.1
> OS: NT4 (SP6)
> Submission from: (NULL) (155.140.123.250)
> 
> 
> After grep is called many times (> 250k), with constant strings as patterns,
> it complains with "invalid regular expression" on calls that worked before
> (with same pattern and x). At the same time copying to the clipboard
> does no longer work with "out of memory" error (i.e. when trying to
> copy the error message from grep to this msg.)
> Also breaks other functions (regexpr, strsplit) that seems to use
> the regex functions internally. Things work again after restarting R.

Looks like a memory/resource leak.  Can you send us an actual
failing example on your machine, starting from a clean session,
together with details of the machine (amount of RAM etc)?  That will
help us greatly to reproduce this.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._