The script fails after some time with the following error message: "Object doesn't support this property or method." The line where this occurs is a line wich has a "send()" method on it.
I put the counter in place to find out when exactly it fails. This is not at number 21, but at a random higher number. But under the 100.
I know that both version 6 and 3 are available on the system. When I leave version 6 out of the code, it will still fail but it won't give me an error message. Requests made to the server won't be executed.
I refill the list to 20 objects initially just to see what happens. I've got better code that doesn't do this and only creates 1 object when none are available.
When I create a new object each time I use it, the system will start to become slow overtime and eventually crash.
Am I not "closing" the first requests as I should? How should that be done? What am I doing wrong?
A sympton wich I think may be related to the above problem is the following:
When the system hangs, memory usage by Internet Explorer is also high.
When 1 Internet Explorer window is closed (where all the action happens in), memory usage will drop a bit, but not to a normal level. When the second Internet Explorer window is closed (the last one and wich is also allways open. This one is only used on "startup") memory usage returns to normal.