×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2003
    Location
    Thailand
    Posts
    32

    Memory full + mobile hang!

    hello,

    I load graphics into my game and I think it is still
    in memory evenif I set its address to null
    then the final is my mobile (6600) is hang!

    do any one know how to clear this graphics from memory?

    Thank you.

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    7
    On the 6600 if an image is created, setting the object to null has no real effect, the garbage collector will not release this memory. Its generally good prectice on mobile phones (simply because the API's are so poorly implemented) to re-use as many objects as u can.

  3. #3
    Registered User
    Join Date
    Dec 2003
    Location
    Thailand
    Posts
    32
    Hello MikGan,

    I wonder that when I watch memory usage
    of sample midlet from Nokia site and
    these midlet take memory for some
    and release it, why?
    (While my midlet take mem very funny +_+)

    I read code and not found any command that
    call gabage collector!?

Posting Permissions

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