Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Whenever I re-boot (reset) my storm, I'm up to around 45mb of memory - I ... BlackBerry Storm forum

  1. #1
    terrapin's Avatar
    terrapin no está en línea Stack Pro
    Join Date
    Mar 2007
    Posts
    989

    Memory and closing apps

    Advertisement



    Whenever I re-boot (reset) my storm, I'm up to around 45mb of memory - I start using a few apps and think I close them properly, but when I check about an hour later, my available mem is down to under 14mb - is there an app out there or something i can do to make 100% sure running apps are closed (if in fact this is the problem)?

  2. #2
    j llama's Avatar
    j llama no está en línea Device Pro
    Join Date
    Sep 2006
    PIN/ID
    4U2ASKME
    Posts
    4,319
    Just make sure to hold the escape key for a second to fully close the apps you're using. I have memory cleaner enabled as well. That event log cleaner works pretty good I think as well. I think it could just be a general memory leak perhaps. What OS are you running?
    BlackBerry® Certified Support Specialist

  3. #3
    terrapin's Avatar
    terrapin no está en línea Stack Pro
    Join Date
    Mar 2007
    Posts
    989
    using the .75 OS that came with the verizon storm

  4. #4
    terrapin's Avatar
    terrapin no está en línea Stack Pro
    Join Date
    Mar 2007
    Posts
    989
    and by the way, what is this memory leak business? can it be prevented?

  5. #5
    EthanCole's Avatar
    EthanCole Guest
    Please correct me if Im wrong:

    Memory leaks is when the device its self starts deleting messeges and closing stuff out on its own to have enough memory to run properly. It wont be something to worry about unless you try to keep all your messeges and have a lot of apps on your device. The storm came with 1GB of on board memory so It shouldn't be a problem but its always good to delete everything that you don't need just to keep your device running as smooth as possible.

  6. #6
    goldengirl75's Avatar
    goldengirl75 no está en línea Stack level 5
    Join Date
    May 2007
    Posts
    1,895
    Quote Originally Posted by terrapin View Post
    and by the way, what is this memory leak business? can it be prevented?
    Good question. I do memory cleaning several times a day, clear out event log and clear out the cache after browsing and I still see a drop. Sometimes it goes up and then, back down.

  7. #7
    EthanCole's Avatar
    EthanCole Guest
    Quote Originally Posted by goldengirl75 View Post
    Good question. I do memory cleaning several times a day, clear out event log and clear out the cache after browsing and I still see a drop. Sometimes it goes up and then, back down.

    A feature that I liked on the treo that can be useful on blackberry is that you can check what is using up memory and be able to close what's really running.... Wouldn't that be nice?

    I always have a hard time figuring it out. Lately I've been opening everything and menu>close and then doing what goldengirl75 does too with a battery pull afterwards.

  8. #8
    goldengirl75's Avatar
    goldengirl75 no está en línea Stack level 5
    Join Date
    May 2007
    Posts
    1,895
    Yeah, it's great after battery pull but then...

    I guess I don't do too bad, it ranges from approx 34 to 29.

  9. #9
    EthanCole's Avatar
    EthanCole Guest
    I do about 30(without B/P) 36 (WITH B/P)

  10. #10
    RedNightHawk's Avatar
    RedNightHawk no está en línea Stack level 3
    Join Date
    Jun 2008
    Posts
    422
    Quote Originally Posted by terrapin View Post
    and by the way, what is this memory leak business? can it be prevented?
    A memory leak comes from a program that is creating objects that either are never destroyed or creates them willy-nilly so there's always more being created even as old ones are being destroyed during memory-cleaning. A while back a programmer had mentioned seeing some preliminary OS code and seeing a liberal use of String variables, which in Java can lead to memory leaks (In Java String objects often wind up unreferenced and memory cleaning has no way to know they exist and get rid of them). Which is why a battery pull can often help since the unreferenced objects are finally released from memory that way.

    Programmers can limit memory leaks by producing good code (destroying objects in code rather than leaving it to memory cleaning and limiting use of certain objects), but users can pretty much only prevent memory leaks by not using programs that have them.

  11. #11
    terrapin's Avatar
    terrapin no está en línea Stack Pro
    Join Date
    Mar 2007
    Posts
    989
    it affects the app memory only on mine it seems

  12. #12
    Thyth's Avatar
    Thyth no está en línea Stack level 3
    Join Date
    Sep 2007
    Posts
    273
    Quote Originally Posted by RedNightHawk View Post
    Programmers can limit memory leaks by producing good code (destroying objects in code rather than leaving it to memory cleaning and limiting use of certain objects), but users can pretty much only prevent memory leaks by not using programs that have them.
    There aren't any explicit deconstruction routines in the Java programming language. The only way objects vanish is if all references to the objects are unreachable from any static objects, or from any of the stack object references (this way, an object can have circular references to dead objects, and still be recognized as unreferenced). Once an object is known to be unused, it's placed in the first generation of the garbage collector. Strings aren't special in that regard.

    In any case... on the topic of seeing if applications are fully closed: the eScreen has a set of JVM Engineering Screens which shows RAM and flash usage of transient and persistent objects, as well as a list of all active VM processes and the CPU utilization of each. You can also invoke a quick/full/thorough garbage collection process in this area to force the device to clean up memory.
    Need an eScreen code? Try my generator: http://absolous.wavegap.com/projects/escreen/

  13. #13
    Jaricanese's Avatar
    Jaricanese no está en línea Software Pro
    Join Date
    May 2007
    PIN/ID
    ASK
    Posts
    902
    Quote Originally Posted by Thyth View Post
    There aren't any explicit deconstruction routines in the Java programming language. The only way objects vanish is if all references to the objects are unreachable from any static objects, or from any of the stack object references (this way, an object can have circular references to dead objects, and still be recognized as unreferenced). Once an object is known to be unused, it's placed in the first generation of the garbage collector. Strings aren't special in that regard.
    That's one of the reasons why developers still prefer C.


    And to reiterate, always try to delete any stuff you aren't using to keep memory high. You never know when you're going to be in a situation where you need it. Especially for the non storm/bold/8900 users.

  14. #14
    Thyth's Avatar
    Thyth no está en línea Stack level 3
    Join Date
    Sep 2007
    Posts
    273
    Quote Originally Posted by Jaricanese View Post
    That's one of the reasons why developers still prefer C.
    And it would be very nice if RIM gave developers the ability to write native code for the BlackBerry platform. Porting something like Firefox to the BlackBerry would actually be feasible.

    Like it or not though, the use of a managed language, without support for direct memory manipulation and strict separation of code and data, is why the BlackBerry platform is as secure as it is.
    Need an eScreen code? Try my generator: http://absolous.wavegap.com/projects/escreen/

  15. #15
    vince1's Avatar
    vince1 no está en línea Community Pro
    Join Date
    Oct 2006
    PIN/ID
    Stack
    Posts
    3,676
    You could try Quickpull. U can schedule a reset each day. See the link below for more info

    http://forums.pinstack.com/f10/quickpull_has_been_updated-98852/

    ~via smartphone~

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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