[R] RCurl memory leak in getURL method
Ramnnek Singh
dotnetsqltraining at gmail.com
Sun Oct 26 03:01:47 CET 2014
Thanks Martin.
Duncan has replied on http://stackoverflow.com/questions/26556629/rcurl-memory-leak-in-geturl-method
I will test it in the application I have and update the thread here as well.
-----Original Message-----
From: "Martin Maechler" <maechler at stat.math.ethz.ch>
Sent: 25/10/2014 8:40 PM
To: "dotnet sql" <dotnetsqltraining at gmail.com>
Cc: "r-help at r-project.org" <r-help at r-project.org>
Subject: Re: [R] RCurl memory leak in getURL method
>>>>> dotnet sql <dotnetsqltraining at gmail.com>
>>>>> on Sat, 25 Oct 2014 08:50:20 +1100 writes:
> Hi It looks like we have hit a bug in RCurl. The method
> getURL seems to be leaking memory. A simple test case to
> reproduce the bug is given here:
>> library(RCurl)
>> handle<-getCurlHandle()
>> range<-1:100
>> for (r in range) {x<-getURL(url="news.google.com.au",curl=handle)}
> If I run this code, the memory allocated to the R session is never
> recovered.
> We are using RCurl for some long running experiments and we are running out
> of memory on the test system.
> The specs of our test system are as follows:
> OS: Ubuntu 14.04 (64 bit)
> Memory: 24 GB
> RCurl version: 1.95-4.3
> Any ideas about how to get around this issue?
What did the maintainer of the RCurl package say when you asked
him?
Inside R, use maintainer("RCurl")
and then e-mail him, a very smart and nice guy.
> Thanks
> [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help
mailing list