Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Avoid a memory leak when grouping Persistent objects

by Retired ‎02-12-2010 02:32 PM - edited ‎09-16-2010 03:13 PM (1,578 Views)



This article applies to the following:

  • BlackBerry® Device Software 4.6 and later



With BlackBerry Device Software 4.6 and later, it is possible to create a memory leak when grouping Persistent objects, or Persistent data that has been committed to the Persistent Store previously.Because it is possible for commitments to the PersistentStore to occur during garbage collection, without an explicit call to commit(), grouping of objects should always occur before calls to setContents() or commit().

Users Online
Currently online: 7 members 817 guests
Please welcome our newest community members: