[R] Memory Leak in R v1.6.1

Liaw, Andy andy_liaw at merck.com
Thu Dec 19 15:53:00 CET 2002


For the benefit of those who might have similar problem...

-----Original Message-----
From: Annette Molinaro [mailto:molinaro at cc.ucsf.edu]
Sent: Wednesday, December 18, 2002 11:51 PM
To: Liaw, Andy
Subject: Re: [R] Memory Leak in R v1.6.1


Thanks Andy!
It worked!

----- Original Message -----
From: "Liaw, Andy" <andy_liaw at merck.com>
To: "'Annette Molinaro'" <molinaro at cc.ucsf.edu>
Sent: Wednesday, December 18, 2002 2:52 PM
Subject: RE: [R] Memory Leak in R v1.6.1


> Try following the rm() by a few gc()'s and see if that helps.
>
> Andy
>
> > -----Original Message-----
> > From: Annette Molinaro [mailto:molinaro at cc.ucsf.edu]
> > Sent: Wednesday, December 18, 2002 4:30 PM
> > To: R-help at stat.math.ethz.ch
> > Subject: [R] Memory Leak in R v1.6.1
> >
> >
> > Greetings,
> >
> > I am running R v 1.6.1 on a linux operating system with 2GB
> > physical memory and dual processors. When using BATCH to run
> > a simulation with a super large dataset I can only get
> > through 1 1/2 repetitions before R uses all the memory and
> > the simulation crashes. It starts with 10% of the memory - up
> > to 50% by the end of the first repetition and then starts the
> > second with approx 65% of the memory. I am using rm at the
> > end of each section and thus only keeping a small matrix of
> > results. Any suggestions?
> >
> > Thanks,
> > Annette
> >
> > [[alternate HTML version deleted]]
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > http://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >
>
> --------------------------------------------------------------------------
----
> Notice: This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that
may be confidential, proprietary copyrighted and/or legally privileged, and
is intended solely for the use of the individual or entity named on this
message. If you are not the intended recipient, and have received this
message in error, please immediately return this by e-mail and then delete
it.
>
>
============================================================================
==
>


------------------------------------------------------------------------------




More information about the R-help mailing list