How much memory remains?

Discussion in 'Questions (Windows Mobile)' started by willisgt, Dec 4, 2007.

  1. willisgt

    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.


  2. BjornF

    BjornF Active Member Licensed 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