Hi!
It seems to me, that my OPL-application runs short of free memory
and therefore the used DIR$(""😉-commands returns a false string.
If I try to free some more memory while disabling some string-declarations, the DIR$(""😉 runs OK.
How can I trace the free memory while an OPL-applications is running to ensure, that those things happen?
(I get no "out of memory"-message from the 9210-core).
Regards,
Luzie
Luzie,
You can use an app called "avail.sis". It will tell you in realtime how much free memory is available.
I used it when I was porting naughts and crosses to 9210 and it was very useful.
I think it is included on the SDK CD but if not you can find it try looking at http://forum.nokia.com
Hope this Helps.
Regards
PS: If you still can't find it, e-mail me and I'll send it to you.
Luzie,
you can also use the following from system.oxh
include "system.oxh"
PROC systest
local totalram&,totalrom&,maxfree&,freeram
SyMemoryInfo(totalram&,totalrom&,maxfree&,freeram&😉
print "total ram",totalram&,"total rom",totalrom&,"max free ram",maxfree&,"currently free ram",freeram&
get
ENDP
Regards, Jouni