BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 06-23-2009, 08:01 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy File Free Memory Usage

Please Login to Remove!

We have a small app. (64K .cod) that basically creates and sends an eMail with a photo attached.

After a reset, when I check File Free memory on my 8320 prior to running the app., it has around 2,100,000 bytes. After I run our app. and exit, it shows 1,500,000 bytes. After another run, it shows 900,000 btyes.

Basically, each use seems to eat up ~ 500Kb, eating up the performance on the device.

We are running System.gc() when we exit. We have also tried manually setting Strings, Bitmap and other objects to null prior to exit. Still the same results.

Is this normal? i.e. will garbage collection eventually release the memory, or does it mean that we have some objects that are "stuck"?
Offline  
Old 06-23-2009, 08:56 AM   #2 (permalink)
BlackBerry Master
 
dankarlinski's Avatar
 
Join Date: May 2007
Model: 1
Carrier: 1
Posts: 3,391
Post Thanks: 1
Thanked 2 Times in 2 Posts
Default

Wirelessly posted (MY 8900)

It sounds like whenever you open and use the app, it uses a resource. When u close it, the modules seem like they don't close which eats up the memory. When you open it again, it dupes the modules and eats up mem again. I'm not sure how to fix this however
Offline  
Old 06-23-2009, 09:50 AM   #3 (permalink)
New Member
 
Join Date: Apr 2009
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

We solved part of it. We were using the Spell Checker, and not destroying the objects, so that memory was getting hung. We are still looking for another 200K that keeps disappearing.

Anyone know of a memory tool for the device that would show what objects, etc. are in memory?
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

( 10 PC.) ATMEL AT29C257-90JI CMOS FLASH MEMORY - 32PLCC
$17.95
( 10 PC.) ATMEL AT29C257-90JI CMOS FLASH MEMORY - 32PLCC  pictureNew Heidi Swapp Memory Planner Jan - Dec
$26.99
New Heidi Swapp Memory Planner Jan - Dec  picture11 PCS ALPS SCDA6A0101 MEMORY CARD CONNECTOR CONNECTORS
$3.99
11 PCS ALPS SCDA6A0101 MEMORY CARD CONNECTOR CONNECTORS pictureTest of Memory Malingering (TOMM)
$45.0
Test of Memory Malingering (TOMM) pictureOriginal Mimaki JV33 / JV5 / CJV30 Printer Print head with Memory Board M007947
$1300.0
Original Mimaki JV33 / JV5 / CJV30 Printer Print head with Memory Board M007947 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.