Skip to content
Prev 13722 / 398502 Next

memory usage

Thanks.  Now that you mention it, I remember reading that note in CHANGES.
It's getting harder to remember everything I need to!

R. Woodrow Setzer, Jr.                                            Phone:
(919) 541-0128
Experimental Toxicology Division                       Fax:  (919) 541-5394
Pharmacokinetics Branch
NHEERL MD-74; US EPA; RTP, NC 27711


                                                                                                                                        
                    Prof Brian D                                                                                                        
                    Ripley               To:     Woodrow Setzer/RTP/USEPA/US at EPA                                                        
                    <ripley at stats        cc:     r-help at hypatia.math.ethz.ch                                                            
                    .ox.ac.uk>           Subject:     Re: [R] memory usage                                                              
                    Sent by:                                                                                                            
                    ripley at auk.st                                                                                                       
                    ats                                                                                                                 
                                                                                                                                        
                                                                                                                                        
                    09/22/01                                                                                                            
                    02:19 AM
On Fri, 21 Sep 2001 Setzer.Woodrow at epamail.epa.gov wrote:

            
error
I don't think so.  From CHANGES:

  The Windows memory manager proved to be (far) too slow to work with
  the new generational garbage collector, so it has been replaced.  The
  current memory manager rarely releases memory back to Windows (but
  reuses memory very efficiently) so total memory usage will often grow
  slowly over the course of a session.  Memory used for transient large
  objects will normally be returned at garbage collection.  (Once memory
  usage has gone over the 256Mb of address space that is initially
  reserved, it is unlikely to be reduced much, but the allocated memory
  will be reused.)  You can compile R to use the Windows memory manager
  if you need to.

This behaviour is not ideal, but given the way Windows manages memory is
not really compatible with the Unix model of a single large block that can
be grown or shrunk by calls to sbrk, it is the best we can do with the
human resources available.  Getting this far was hard enough.

(The speed hit with the Windows memory manager was often three or more.)
541-5394
-.-.-.-
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
_._._._
--
Brian D. Ripley,                  ripley at 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-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._