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


Parmak Precision Low Impedance Mark V Electric Fencer 110 Volt W/ Wire & Manual picture

Parmak Precision Low Impedance Mark V Electric Fencer 110 Volt W/ Wire & Manual

$64.99



Fi-Shock Electric Fence 5 Miles Low Impedance .1 Joule, EA5M-FS, 115V07J-15 picture

Fi-Shock Electric Fence 5 Miles Low Impedance .1 Joule, EA5M-FS, 115V07J-15

$69.95



Digital Ohmmeter LCD Audio Impedance Test Meter Speaker Voice Resistor System picture

Digital Ohmmeter LCD Audio Impedance Test Meter Speaker Voice Resistor System

$83.60



AgraTronix .35 Joule - Low Impedance D-CellBattery Fence Energizer  | PW350B picture

AgraTronix .35 Joule - Low Impedance D-CellBattery Fence Energizer | PW350B

$108.84



Fluke  845AR High Impedance Voltmeter-Null Detector picture

Fluke 845AR High Impedance Voltmeter-Null Detector

$500.00



GE MRI High Impedance ECG Leads E8819RC picture

GE MRI High Impedance ECG Leads E8819RC

$359.99







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