×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    13

    Check free mem in S60v3

    How to check free runtime-memory in S60v3? I can't find any class or function that I can use to read out free memory.

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Check free mem in S60v3

    In Java you could find the total memory of a device with "Runtime.getRuntime().totalMemory()" and Free memory with "Runtime.getRuntime().freeMemory()"

    Hope this helps!

    Regards
    Gopal

  3. #3
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Check free mem in S60v3

    Hi,

    If u r refering to heap memory you may use :-
    You could find the total memory of a device with "Runtime.getRuntime().totalMemory()" and Free memory with "Runtime.getRuntime().freeMemory()"

    If u r going to find the freememory in ur filesystem u may use Fileconnection api :-
    javax.microedition.io.file.Fileconnection.availableSize()

    Regards,
    Wang

Similar Threads

  1. RecordStore doesn't seem to free in mem
    By FatalError in forum Mobile Java General
    Replies: 1
    Last Post: 2004-09-27, 23:23
  2. disk free space check
    By morison77 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-08-30, 03:50
  3. GSM/GPRS Drivers check FAILED
    By hblume in forum Multimodecards
    Replies: 3
    Last Post: 2004-01-28, 21:37
  4. Free RAM and Free User Memory
    By koayst in forum Symbian
    Replies: 5
    Last Post: 2003-05-09, 12:47
  5. SMS Msg using VB Application
    By gurup83 in forum General Messaging
    Replies: 2
    Last Post: 2002-07-11, 04:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×