How find Total Space lazarus / 43-Android ---------------------------------------------------------------------- dimonershov · 2023-03-05 10:46 Hi How to find out the size of the internal memory in bytes? I programming app on Android in LAMV. In Windows i write: Windows.GetDiskFreeSpaceEx(Pchar(usb_name_37+':\'),FreeBytesAvailableT oCaller,Totalsize,@FreeSize); ---------------------------------------------------------------------- higgins · 2023-03-08 14:17 Hi, This thread may help you. It concerns Delphi but includes several links https://stackoverflow.com/questions/50552808/delphi-tokyo-android-how- do-i-get-the-free-available-disk-space ---------------------------------------------------------------------- Thaddy · 2023-03-08 14:56 The most reliable way is to call GetHeapStatus, which is always available. https://www.freepascal.org/docs-html/rtl/system/getheapstatus.html