I have reported this to Embarcadero as RSP-12242. madExcept supports plugins which can add information to the bug report. The 10 iteration output contains 9 more leaks with this as a stack trace compared to the 1 iteration. If anybody knows a way around that, that would be awesome too!)īy varying iMax from 1 to 10 and comparing the FastMM4 output, it appears that the leak is in the class. I'm to believe that this is due to the fact that Delphi doesn't generate a dSYM file for Mac. (As an aside, it would be really helpful to know exactly where the leak is coming from on Mac, but the only Delphi classes listed are the TMethodImplementationIntercept. I already compiled a version without madExcept, which works fine as the user said. Users of Windows 10 prerelease 200612-1734 reported an issue with the 64bit build of HeidiSQL, where the application starts but just runs in the background, showing nothing but the taskbar icon.
Further, when run using Instruments, there appear to be leaks dealing with several URL and HTTP classes on mac.ĭoes anybody know how to resolve this leak? Anse wrote:Using Delphi 10.4 and madExcept beta for BDS21. When run on a Mac, however, the Activity Monitor shows the memory allocated to the app continue to rise. Examining the running process in ProcessMonitor shows no increase in the amount of memory being used. When I run this on Windows, using MadExcept, no leaks are found. Essentially, I have a synching service that makes REST requests every so often. This is the smallest block of code that demonstrates the leak. madshi Site Admin Posts: 10438 Joined: Sun 5:25 pm. When can we expect to have an updated madExcept Version Top. Request.Client := TRestClient.Create('') Today Delphi 11 - Alexandria was released. Fake Online REST API for Testing and Prototyping System.SysUtils, REST.Client, REST.Types, IPPeerClient The TService class is where we do our stuff and it has a number of properties which you can see in the Object Inspector. Then you can see application which includes a Datamodule descendent Tservice class.
The code to generate the memory leak is the following (running XE8, update 1): program mac_REST_leak_test To create a service application in Delphi start Delphi IDE and select File->New->Other. I am currently looking for a way around an apparent memory leak in the Mac implementation of the REST client.