﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
233	"Inetget + ""automatically detect proxy settings"" = HUGE RAM usage"	anonymous		"Tried this post in the forum but didn't get any reply... so I'm thinking it's a real bug and this is the right place for it. So here you go...

I'm using Winter's WeeWar Notifier (see his post # 53213 in the forums) 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)

{{{
while 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? Thanks!"	Bug	closed		AutoIt	3.2.10.0	None	Works For Me		
