Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


Memory Manager Extension For Leak Checking With Firemonkey In Delphi 10 Seattle On Android

Delphi 10 Seattle Memory Leak Checker AndroidDeveloper Honza Rames has a memory manager extension project which allows you to check for leaks in Android apps built with Firemonkey in Delphi 10 Seattle. The Delphi LeakCheck library works with both Android, Win32, and Win64. By default it integrates with DUnit and DUnitX. You can allocate stack traces with symbols, allocate snapshops (which are not thread safe), intercept virtual and interface calls on freed objects, plus independent object structure scanning. It includes complex leak ignoring options and there are minimal external dependencies. It is pretty simple to use in that you just add LeakCheck to your uses clause at the top and then enable ReportMemoryLeaksOnShutdown like you normally would do on Win32. It can be used as a full replacement of FastMM full debug mode but it is not as fast as possible. On Android the output from ReportMemoryLeaksOnShutdown is sent to the Android logcat functionality. Only up to Delphi XE7 is mentioned in the docs but it has been updated recently so it probably supports Delphi 10 Seattle as well. For IOS debugging try LemonJar.

Head over and download the full source code for the Delphi LeakCheck library for Firemonkey on Android.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS


Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux


Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows


Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

Leave a Reply