Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

DelphiMARSMemoryLeakDemo

Demonstrates a memory leak when running MARS on Linux. Tested with Delphi 10.4.2.

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

DelphiMARSMemoryLeakDemo

Demonstrates a memory leak when running MARS on Linux. Tested with Delphi 10.4.2.

Try the MemLeakDemo console app on both Windows and Linux. Windows works as expected, but the MARS endpoint - http://127.0.0.1:4000/rest/test/stringlist - on Linux causes a big memory leak.

Update 1

It appears that the original leaks were fixed in Delphi 11. I have added a new endpoint that generates the same type of leak in Delphi 11 - http://127.0.0.1:4000/rest/test/string2