Re: [Rd] Significant memory leak when using XML on Windows

2014-12-15 Thread Janko Thyson
@Jeroen: nope, seems like the problem unfortunately persists: require("XML") getTaskMemoryByPid <- function( pid = Sys.getpid() ) { cmd <- sprintf("tasklist /FI \"pid eq %s\" /FO csv", pid) mem <- read.csv(text=shell(cmd, intern = TRUE), stringsAsFactors=FALSE)[,5] mem <- as.numeric(gsub("

Re: [Rd] Significant memory leak when using XML on Windows

2014-12-15 Thread Janko Thyson
Sorry guys, didn't see your responses before sending mine. Thanks jeroen!! I'll test your version today and get back to you. Gesendet von meinem Smartphone Am 15.12.2014 12:12 schrieb "Janko Thyson" : > Thanks a lot for answering. Before I get into it, please note that > everything below bears t

Re: [Rd] Significant memory leak when using XML on Windows

2014-12-15 Thread Janko Thyson
Sorry guys, didn't see your responses before sending mine. Thanks jeroen!! I'll test your version today and get back to you. Gesendet von meinem Smartphone Am 15.12.2014 12:12 schrieb "Janko Thyson" : > Thanks a lot for answering. Before I get into it, please note that > everything below bears t

Re: [Rd] Significant memory leak when using XML on Windows

2014-12-15 Thread Janko Thyson
Thanks a lot for answering. Before I get into it, please note that everything below bears the big capture "Thanks for trying to help me at all". 1) Yeah, those examples - quite hard to satisfy everyone's needs ;-) While the one side complained that my past examples regarding this issue were not in

Re: [Rd] Significant memory leak when using XML on Windows

2014-12-14 Thread Jeroen Ooms
On Sun, Dec 14, 2014 at 8:07 PM, Duncan Temple Lang wrote: > > Janko and I have been in touch. > This is, I believe, a Windows specific issue and a compilation issue. If it does not appear on other systems, it might be the windows build of libxml2 (or one of the dozens of problems that gcc warns

Re: [Rd] Significant memory leak when using XML on Windows

2014-12-14 Thread Duncan Temple Lang
Janko and I have been in touch. This is, I believe, a Windows specific issue and a compilation issue. I could be wrong, but that is my impression from other reports. When I have time (?! :-)), I will deal with it. Hopefully this will be very soon. Thanks Janko. D. On 12/14/14, 7:54 PM, Jeroen

Re: [Rd] Significant memory leak when using XML on Windows

2014-12-14 Thread Jeroen Ooms
On Thu, Dec 11, 2014 at 12:13 PM, Janko Thyson wrote: > > I'd so much appreciate if someone could have a look at this. If I can be of > any help whatsoever, please let me know! > Your current code uses various functions from XML and rvest so it is not a *minimal* reproducible example. Even if you