Discussion in 'Questions (Windows Mobile)' started by zdenkot, Feb 8, 2009.

  1. zdenkot

    zdenkot Member Licensed User

    Hi Erel
    On my desktop I have to run web requests continuously. I found memory leak of about 16 kb per request. Please see attached example (HTTP SOAP example with timer).

  2. Erel

    Erel Administrator Staff Member Licensed User

    Thanks. I see it too.
    It will be fixed in the next version.
  3. zdenkot

    zdenkot Member Licensed User

    HTTP library - MEMORY leak

    Hi Erel,

    Memory leak is not fixed in version 6.8 !?

  4. Erel

    Erel Administrator Staff Member Licensed User

    Identifying memory leaks can be pretty tricky in the .Net Framework.
    Memory is only released from time to time by the garbage collector.
    Previously because of a bug, disposed objects were not really disposed because of an internal reference. This bug was fixed.
    I ran your program for several minutes and the memory stopped increasing after a while (the program continued to run properly).
    I added the following lines to be sure that the request and response objects are disposed: (line 79)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice