×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Question Loading M3G file consumes so much memory on 3rd?

    I'm loading 10 1KB sized M3G files into memory.
    using the Load.load() method, on N73 & E50
    i use the on-device debug utilities to monitor the memory usage on the device. then i find that after the 10 files are loaded in, the free memory decreases by 7MB !
    so if i keep loading more M3Gs, i will get out of memory exception on N73 and E50(3rd). but the demo runs perfectly on N70(2nd).
    anybody can tell me why? and how to prevent this conditions?

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    62

    Re: Loading M3G file consumes so much memory on 3rd?

    The N70 simply has more free RAM memory available for applications after the Symbian OS has loaded.

    http://3lib.ukonline.co.uk/s60history.htm says that the N70 has 32 MB, while the N73 and E50 only have 20 MB free. That's why your demo works only on N70.

  3. #3
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Re: Loading M3G file consumes so much memory on 3rd?

    Quote Originally Posted by knorring
    The N70 simply has more free RAM memory available for applications after the Symbian OS has loaded.

    http://3lib.ukonline.co.uk/s60history.htm says that the N70 has 32 MB, while the N73 and E50 only have 20 MB free. That's why your demo works only on N70.
    well great thanks for your reply and the device info you gave me.
    there is another important thing in my test: each 1KB m3g file consumes about 700kb memory, is that normal?
    In my game i have about 25 m3g files to load in each level, does that mean my game consumes 25 * 700kb = 17mb memory?
    If this is true, how can I prevent this problem? make all my models into a single m3g file?

Similar Threads

  1. File corrupted - with signed sis
    By annehj in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2007-12-10, 13:44
  2. Carbide.j 1.5 +sdk 3rd = heap memory Problems!!
    By gdaquila in forum Mobile Java Tools & SDKs
    Replies: 5
    Last Post: 2006-08-24, 08:01
  3. the rss file in 3rd
    By handle_cn in forum Symbian
    Replies: 5
    Last Post: 2006-07-10, 09:46
  4. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

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