Archived

This topic is now archived and is closed to further replies.

necr0

Wininet / HttpRequest memory usage

Recommended Posts

Hi I have an app that uses Wininet (and another that uses httpRequest object) to get a page from a web page from a server. Each time InternetOpen and HttpOpenRequest are called the Mem Usage in the task manager goes up by a large amount then when I close and release everything it does not go down again. Doing this a few times creates a high amount of memory usage. Does anyone know if there is a bug in Wininet or something???? pleas help my obiwan, youre my only hope.

Share this post


Link to post
Share on other sites
InternetCloseHandle id called for all handles and they are then set to NULL.

The same thing happens in the HttpRequest object (part of the XML SDK from microsoft) which is built on top of WinInet.

Does anyone know of another way to make GET and POST http requests thats nicer on memory?

Share this post


Link to post
Share on other sites