Would you like to tell us how we are doing?

You bet No thanks

Sorry about the red box, but we really need you to update your browser. Read this excellent article if you're wondering why we are no longer supporting this browser version. Go to Browse Happy for browser suggestions and how to update.

Data memory app

The memory sample application demonstrates the best practices for memory use for multiple records. The sample application uses the Low Memory Manager to deallocate memory containing outdated data and group objects using the ObjectGroup API.

The sample application manages data for a fictional business and keeps records for each order that the business places. To see the effects of running the Low Memory Manager without exhausting flash memory, object handles, or persistent object handles, three menu items are provided that execute the same methods as the Low Memory Manager.

Install the sample application

Visit http://www.blackberry.com/go/memorysample to download the sample application.

Extract the memorydemo.zip file.

On the taskbar, click Start > Programs > Research In Motion > BlackBerry JDE 4.0.0 > JDE.

Open the workspace that you want to add the sample application to.

In the workspace tree, right-click the project that you want to add the sample application to.

Click Add project to <workspace directory> .

In the Add project to <workspace> dialog box, browse to the folder where you extracted the sample application.

Click the MemoryDemo.jdp file.

Click Open.

Run the sample application

In the workspace where you added the memorydemo project, right-click memorydemo.

Click Build project.

On the taskbar, click Start > All Programs > Research in Motion > BlackBerry JDE 4.0.0 > Device Simulator.

In the application list, click the Downloads folder.

Click the Memory Demo icon.