5.23.00 Native Transports memory leak

Home Forums kbmMW 5.23.00 Native Transports memory leak

Viewing 5 reply threads
  • Author
    Posts
    • #57423
      Babis Michael
      Participant

      Hello,
      There a memory leak on the native server transports:
      link: ibb.co/5Lvw5QM (add https:// before)

      Thank you

      • This topic was modified 1 year, 11 months ago by Babis Michael.
    • #57425
      kimbomadsen
      Keymaster

      Hi,

      I cant from the screenshot you present see any leak.
      I can see the two message queue processors are allocated (one for the inqueue and one for the outqueue).
      Have you set InboundProcessor and/or OutboundProcessor anywhere in your code?
      If you have, then kbmMW will not try to deallocate them upon close.

      Further make sure you close transports upon closing your application.

      /Kim

    • #57426
      Babis Michael
      Participant

      Hello,
      Here’s the shutdown code:
      Server.Shutdown;
      Server.Active := False;

      if ConnectionPool.ConnectionList.Count > 0 then
      ConnectionPool.KillConnections;

      Transport.PurgeAndClose([mwpacFlushInbound,mwpacFlushOutbound]);

      The leak didn’t exist in 5.22 i’ll try to make a sample project

    • #57430
      Babis Michael
      Participant

      btw, the same leak happends to client transports too

      • This reply was modified 1 year, 11 months ago by Babis Michael.
    • #57467
      Babis Michael
      Participant

      Sent you a sample project via e-mail

    • #57521
      Babis Michael
      Participant

      Any news ?

      Thank you

Viewing 5 reply threads
  • You must be logged in to reply to this topic.