free ram!

Posted:
Jan 20, 2003 @ 1:36am
by brendan
does anyone have any nifty code for checking that the device has a "required" amount of space avaliable to run an application?
i.e to terminate the program if not enough!
There's a function

Posted:
Jan 20, 2003 @ 9:17am
by golan_trevize_x
Hey brendan,
There is a function you can use to ask the device, and it'll put some free and used memory information in a struct (also defined), which you can then access. I used it when I was having memory problems and wanted to check if I was using too much.
I'll try and find out what it's called when I get home. In the meantime, one of the other guys can help you, or you can find it yourself in the help.
Nathan