Memory Leak only when compiled in Release mode.

Discussion in 'ASP .Net' started by =?Utf-8?B?QnJ1Y2VETQ==?=, Feb 24, 2006.

  1. We have an webservice application that has a memory leak when the application
    is compiled release mode. However, when the application is compiled in debug
    mode it does not exhibit a memory leak.

    We are running .net 1.1 compiled with VS 2003.

    The application does reference an unmanaged dll that provides security
    functionality. This dll is instantiated once and referenced on every web
    service call.

    Any comments or suggestions appreciated.
    --
    BruceDM
     
    =?Utf-8?B?QnJ1Y2VETQ==?=, Feb 24, 2006
    #1
    1. Advertising

  2. =?Utf-8?B?QnJ1Y2VETQ==?=

    Bruce Barker Guest

    if the unmanged dll is com based, you probably are not calling
    Marshal.ReleaseComObject(), but counting on the GC to call it.

    -- bruce (sqlwork.com)



    "BruceDM" <> wrote in message
    news:...
    > We have an webservice application that has a memory leak when the
    > application
    > is compiled release mode. However, when the application is compiled in
    > debug
    > mode it does not exhibit a memory leak.
    >
    > We are running .net 1.1 compiled with VS 2003.
    >
    > The application does reference an unmanaged dll that provides security
    > functionality. This dll is instantiated once and referenced on every web
    > service call.
    >
    > Any comments or suggestions appreciated.
    > --
    > BruceDM
    >
     
    Bruce Barker, Feb 24, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dave
    Replies:
    0
    Views:
    645
  2. ABC
    Replies:
    7
    Views:
    695
    Luke Dalessandro
    Jan 13, 2006
  3. =?Utf-8?B?TWF4?=
    Replies:
    0
    Views:
    467
    =?Utf-8?B?TWF4?=
    Feb 11, 2006
  4. rbg
    Replies:
    0
    Views:
    430
  5. BruceDM
    Replies:
    2
    Views:
    198
    BruceDM
    Feb 24, 2006
Loading...

Share This Page