[wtr-general] Re: Watir IE Memory Usage

2009-01-07 Thread Paul Rogers
ie has some real bad memory leaks, so the problem might be that IE leaks memory rather than a watir issue. In which case, do 400, and then restart IE ;-) in your sample code, all you seem to be doing is checking for some text - if thats all you are doing, then use something like net/http and

[wtr-general] Re: Watir IE Memory Usage

2009-01-07 Thread Bret Pettichord
AR wrote: I tried another instance where I added the ie = Watir::IE.new and an ie.close to the function, but opening and closing IE for each url took up more memory. Try Watir::IE.new_process instead. This will open (and then close) a process each time, and therefore should avoid the

[wtr-general] Re: Watir IE Memory Usage

2009-01-07 Thread AR
On Jan 7, 4:14 pm, Bret Pettichord b...@pettichord.com wrote: Try Watir::IE.new_process instead. This will open (and then close) a process each time, and therefore should avoid the memory leak. The funny thing about this one is that I'm using $HIDE_IE=true, and now each new browser window