How much memory remains?

willisgt

Active Member
Licensed User
Is there a way to determine how much free memory the device has? I checked the Hardware lib - it seems to only provide info on how much memory is being used by the program.

I'd like to know how much memory is available before I pull some stunt that would chew up a big old hunk 'o RAM.

Gary

:sign0163:
 

BjornF

Active Member
Licensed User
Longtime User
Dear Gary,

I don't know if you can do it within Basic4ppc. However, a roundabout way does exist, you can use the shell command together with MortScript (a very nice script language, freeware - see the commands FreeMemory and TotalMemory in Mortscript).

All the best / Björn
 
Top