G gerredtor Active Member Licensed User Apr 26, 2016 #1 Hello i need to read the memory from my app + the DirInternal
Erel B4X founder Staff member Licensed User Longtime User Apr 27, 2016 #2 There are many discussions with code that finds the used RAM: https://www.b4x.com/android/forum/pages/results/?query=b4a+memory+usage&page=1&prefix=0 Total size of files in File.DirInternal: B4X: Dim total As Long For Each f As String In File.ListFiles(File.DirInternal) total = total + File.Size(File.DirInternal, f) Next Log(total) Upvote 0
There are many discussions with code that finds the used RAM: https://www.b4x.com/android/forum/pages/results/?query=b4a+memory+usage&page=1&prefix=0 Total size of files in File.DirInternal: B4X: Dim total As Long For Each f As String In File.ListFiles(File.DirInternal) total = total + File.Size(File.DirInternal, f) Next Log(total)