From: J <iha...@ya...> - 2013-11-20 21:58:48
|
Right -- hence one of the htmlunit users wrote a work around. I tried to get around this in 2011 and ended up just using the work around. If someone were to propose a code change I'm sure the dev team would look at it -- sadly this is way above my experience level (which is why I went for the work around in the blog) On Wednesday, November 20, 2013 2:53 PM, David Taylor <da...@de...> wrote: J, If that is the case then I really have a problem. My app that uses HTMLUnit is intended to stay running for weeks. If these files are not deleted until the JVM exits then this seems like incorrect behavior. David -- David Taylor, Detayls On Wed, Nov 20, 2013 at 1:44 PM, J <iha...@ya...> wrote: According to the blog, it was stated that the files get deleted on calldeleteOnExit, and NOT on closeAllWindows as you have indicated. In other words, the files will NOT be deleted until the JVM exists. Sounds like a feature request not a bug. > > > > > > >On Wednesday, November 20, 2013 11:32 AM, David Taylor <da...@de...> wrote: > >Thanks, J but I really need someone to find the issue. > > >The tmp files I am seeing are all over 500kb and full of JavaScript so the library is not seeing them as a "window" and thus they are not set properly as files that need to be deleted when closeAllWindows is called. > > > >David >-- >David Taylor, Detayls > > > >On Wed, Nov 20, 2013 at 8:33 AM, J <iha...@ya...> wrote: > >http://www.julespotvin.com/?p=17 >> >>^^ It's on oldy but the solution works for me. >> >> >> >>-J >> >> >> >> >>On Monday, November 18, 2013 12:27 PM, David Taylor <da...@de...> wrote: >> >>I recently asked the list if there was a solution for the temp file problem that I have been encountering. >> >>Ahmed was helpful in talking me through it but ultimately no solution was found. >> >>To recap, my application uses HTMLUnit and correctly calls closeAllWindows but html*.tmp files keep stacking up in my temp directory. >> >>After a while the temp files fill the disk. >> >>I have a suspicion that the temp files are created by a JavaScript load and so do not get added the Window list. >> >>Does any new information exist on this issue? >> >>Thanks, >> >>David >> >>-- >>David Taylor, Detayls >> >>------------------------------------------------------------------------------ >>Shape the Mobile Experience: Free Subscription >>Software experts and developers: Be at the forefront of tech innovation. >>Intel(R) Software Adrenaline delivers strategic insight and game-changing >>conversations that shape the rapidly evolving mobile landscape. Sign up now. >>http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >>_______________________________________________ >>Htmlunit-user mailing list >>Htm...@li... >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> >> >> >>------------------------------------------------------------------------------ >>Shape the Mobile Experience: Free Subscription >>Software experts and developers: Be at the forefront of tech innovation. >>Intel(R) Software Adrenaline delivers strategic insight and game-changing >>conversations that shape the rapidly evolving mobile landscape. Sign up now. >>http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >>_______________________________________________ >>Htmlunit-user mailing list >>Htm...@li... >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> >> > > > |