All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 02-04-2003, 06:07 AM
Luzie Luzie is offline
Registered User
 
Join Date: Aug 2002
Posts: 29
Luzie is on a distinguished road
Tracing free memory while running OPL-application

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
Reply With Quote

  #2  
Old 03-04-2003, 04:32 PM
Terminator Terminator is offline
Registered User
 
Join Date: Mar 2003
Posts: 5
Terminator is on a distinguished road
Tracing free memory while running OPL-application

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.
Reply With Quote
Ads

  #3  
Old 07-04-2003, 08:07 AM
Guest
 
Posts: n/a
Luzie,
you can also use the following from system.oxh

include "system.oxh"
PROC systest
local totalram&,totalrom&,maxfree&,freeram
SyMemoryInfo(totalram&,totalrom&,maxfree&a mp;,freeram&)
print "total ram",totalram&,"total rom",totalrom&,"max free ram",maxfree&,"currently free ram",freeram&
get
ENDP
Regards, Jouni
Reply With Quote
Reply

Bookmarks

Tags
free, memory, oplapplication, running, tracing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 01:27 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy