[SOLVED] Indy 10 OPM's package has a memory leak lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Gustavo 'Gus' Carreno · 2021-12-15 01:15 Hey there, I'm completely oblivious to whom I should direct this fact, so I'm putting it here and hoping that either the moderators or Remy has a better place for it. Ok, this is simple enough to replicate: Open lazarusCreate a new empty project of type ApplicationOn the Project inspector add the indylaz package previously installed from OPMIn the project option, create the Debug/Release build modesChoose to run the project under the Debug build mode to have heaptrc infoRun the program and close it If you're running under Windows a dialog will show the leakIf you're running from Linux, you should run the program from the command line Under Linux Lazarus stable(See my sig), I get this: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i $ ./project1Heap dump by heaptrc unit of /home/gcarreno/FreePascal_stable/projects/project11409 memory blocks allocated : 2192487/21947601406 memory blocks freed     : 2192367/21946403 unfreed memory blocks : 120True heap size : 196608True free heap : 195840Should be : 195912Call trace for block $00007F62955A5F00 size 48  $000000000096C009  IDTHREAD_$$_init$,  line 781 of Core/IdThread.pas  $000000000043520CCall trace for block $00007F62955A5E00 size 24  $000000000096C009  IDTHREAD_$$_init$,  line 781 of Core/IdThread.pas  $000000000043520CCall trace for block $00007F62955A1300 size 48  $000000000043520C This is a completely empty project that doesn't even have any uses including ANY Indy unit. I don't really know what to do with this, or if I should go forward and create an issue on the GitHub repo. Cheers, Gus ---------------------------------------------------------------------- balazsszekely · 2021-12-15 05:23 Hi Gus, https://forum.lazarus.freepascal.org/index.php/topic,39257.msg268869.h tml#msg268869 https://forum.lazarus.freepascal.org/index.php/topic,14556.msg77086.ht ml#msg77086 regards, GetMem ---------------------------------------------------------------------- Gustavo 'Gus' Carreno · 2021-12-15 05:33 Hey GetMem, Quote from: GetMem on December 15, 2021, 06:23:42 amhttps://forum.laza rus.freepascal.org/index.php/topic,39257.msg268869.html#msg268869 https://forum.lazarus.freepascal.org/index.php/topic,14556.msg77086.ht ml#msg77086 This is exactly what I was looking for!!! Thank you sooo very much GetMem!! Cheers, Gus