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

(5 PCS) AT25010A-10PI-1.8 ATMEL 128X8 SPI BUS SERIAL EEPROM, PDIP8
$6.95
(5 PCS) AT25010A-10PI-1.8 ATMEL 128X8 SPI BUS SERIAL EEPROM, PDIP8 pictureNew 1Pcs Mitsubishi Fx-Eeprom-8 Plc Module U
$64.99
New 1Pcs Mitsubishi Fx-Eeprom-8 Plc Module U pictureCH341A Series Chip 24 EEPROM BIOS Writer 25 SPI Flash USB Programmer Pin-board
$4.99
CH341A Series Chip 24 EEPROM BIOS Writer 25 SPI Flash USB Programmer Pin-board pictureALLEN BRADLEY 1747-M13 EEPROM MEMORY MODULE 64K Ser. A *** NEW - SEALED
$63.68
ALLEN BRADLEY 1747-M13 EEPROM MEMORY MODULE 64K Ser. A *** NEW - SEALED pictureGY-NEO6MV2 GPS Module Board with Flight Control EEPROM for Arduino DIY
$10.87
GY-NEO6MV2 GPS Module Board with Flight Control EEPROM for Arduino DIY picture






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