BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 05-25-2005, 03:45 PM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Jan 2005
Location: MAH
Posts: 38
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Status: File Free

Please Login to Remove!


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.


Last edited by rimzim : 05-25-2005 at 03:47 PM.
Old 05-26-2005, 11:56 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
Join Date: Feb 2005
Model: 7280
Carrier: cingular, no wait, AT&T
Posts: 300
Post Thanks: 0
Thanked 0 Times in 0 Posts

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.

Last edited by DoomBringer : 05-26-2005 at 12:00 PM.
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

A350P Johnson Controls Proportional Temp Control
A350P Johnson Controls Proportional Temp Control pictureNew Johnson Controls P-3800-1 Reset Volume Controller. 25 PSIG
New Johnson Controls P-3800-1 Reset Volume Controller. 25 PSIG pictureJohnson controls JCI Thermostat te-67np-1n00
Johnson controls JCI Thermostat te-67np-1n00 pictureJOHNSON CONTROLS TRANSFORMER Y65EP-1C 277VAC-24VAC
JOHNSON CONTROLS TRANSFORMER Y65EP-1C  277VAC-24VAC pictureJohnson Controls G60PAJ-1 Ignition Control New
Johnson Controls G60PAJ-1 Ignition Control New picture

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