Using the Garbage Collector

The BlackBerry Java Virtual Machine includes the Garbage Collector, which runs periodically to remove unreferenced and weakly referenced objects from memory. Do not call the Garbage Collector directly, but release resources by setting their reference to null after use.

Previous topic: Removing sensitive data

Was this information helpful? Send us your comments.