BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-25-2005, 03:45 PM   #1
rimzim
Knows Where the Search Button Is
 
Join Date: Jan 2005
Location: MAH
Posts: 38
Default Status: File Free

Please Login to Remove!

Hi,

Im using 7100t. Whenever Im deleting the entries from Calender or MemoPad etc., at the same time "File Free" shows the number with no increment. In practical, it should show the increased free space. However, after some time, it shows increament with some arbitrary number.
Does it mean that the Garbage Collector works only as-and-when required? In order to check this point, I've return a sample app. in which storing some data in persistent storage & after deleting it, Im calling the System.gc(). However, Im not getting the newly incremented "File Free" number.

Can anybody suggest me, why its happening.

I know little about the various types of GC like Full GC, Thorough GC.

Please give me some light.

Earlier reply is much appreciable.

RimZim.

Last edited by rimzim; 05-25-2005 at 03:47 PM..
Offline  
Old 05-26-2005, 11:56 AM   #2
DoomBringer
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2005
Model: 7280
Carrier: cingular, no wait, AT&T
Posts: 300
Default

I think the file system is just being flaky.
IIRC, there are 3 kinds of GC operations. The first and fastest one will just delete objects that have gone out of scope, the second kind will clear out some other crap, and the third and slowest kind will go clean out everything, including the file memory, so it can have more room to swap. Try invoking the GC with a higher setting. I read all of this from an article on RIM's site, it is very detailed.

While I thought you could tell the GC to do a deeper purge, you can't.
Sorry

Last edited by DoomBringer; 05-26-2005 at 12:00 PM..
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


10 turn Potentiometer 3590S Wirewound Variable Resistor Precision multi-turn POT picture

10 turn Potentiometer 3590S Wirewound Variable Resistor Precision multi-turn POT

$51.49



US Stock 10 Units 100K B100K OHM Linear Taper Rotary Potentiometer POT Red Knob picture

US Stock 10 Units 100K B100K OHM Linear Taper Rotary Potentiometer POT Red Knob

$9.49



10 Units 10K B10K OHM Linear Taper Rotary Dual Potentiometer POT White Knob picture

10 Units 10K B10K OHM Linear Taper Rotary Dual Potentiometer POT White Knob

$9.08



10-Turn Rotary Potentiometer Variable Dial Resistor Precision Multiturn Blue 1/4 picture

10-Turn Rotary Potentiometer Variable Dial Resistor Precision Multiturn Blue 1/4

$8.75



US Stock 10pcs 100K ohm Linear Taper Rotary Potentiometer Panel pot B100K 15mm picture

US Stock 10pcs 100K ohm Linear Taper Rotary Potentiometer Panel pot B100K 15mm

$12.05



Clarostat RA20LASD103A 10K OHM Wirewound 10000 Ohm Potentiometer Industrial POT picture

Clarostat RA20LASD103A 10K OHM Wirewound 10000 Ohm Potentiometer Industrial POT

$14.19







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