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 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi 10 Seattle Memory Leak Checker Android | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper 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

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging


Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply