Sandawg Posted April 11, 2008 Share Posted April 11, 2008 I'm using Winter's WeeWar Notifier (see his post here) and I was surprised to see it using 600+ MB of RAM! I did some testing and it looks like the problem happens when he calls InetGet() and I have my IE proxy settings set to "automatically detect proxy settings". If I uncheck that option and manually code in the proxy config then there is no problem. But as soon as you check that box every call to InetGet() sucks another 30+ MB of RAM away. The problem doesn't occur if you don't save the download to a file, but then what good is that? I'm using v 3.2.10.0 of autoit, WinXP SP2, IE 7. To replicate you have to set up an auto-proxy, but with that this code snippet shows the behavior (look in task manager at autoit3.exe memory usage) CODEwhile 1 HttpSetProxy(0) $testResults = InetGet ("http://www.microsoft.com","d:\output.htm", 1,1) ; <- bad! ;also bad -> InetGet ("http://www.microsoft.com","d:\output.htm", 1,1) ;also bad -> InetGet ("http://www.microsoft.com","d:\output.htm") ;good! but doesn't do anything useful -> InetGet ("http://www.microsoft.com") $button = MsgBox(1,"","go again?") if $button == 2 Then ExitLoop WEnd So... what gives? Is this a bug in how InetGet() works? Are there any alternatives for pulling a file down that do not have this problem? Any help appreciated. Thanks! Link to comment Share on other sites More sharing options...
Sandawg Posted April 30, 2008 Author Share Posted April 30, 2008 Um... hello? 2 weeks later and not even a "can you clarify ___" response? If I've put this in the wrong forum please tell me and I'll gladly move it. Otherwise can somebody please respond? Anyone? Anyone? Link to comment Share on other sites More sharing options...
sotplug Posted May 16, 2008 Share Posted May 16, 2008 Try _INetGetSource and saving the source to file? Link to comment Share on other sites More sharing options...
Sandawg Posted May 21, 2008 Author Share Posted May 21, 2008 Hmm... same behavior. Don't suppose this could be a Windows thing? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now