06-23-2009, 09:01 AM
Join Date: Apr 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 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"?