try
{
aRS = RecordStore.openRecordStore(RECORDSTORE_NAME, true);
aHRS = new HierarchicalRecordStorage(aRS);
aDataModel = new MicroSafeModel(aHRS);
aDataModel.setProgressMonitor(rMonitor);
aDataModel.initFromStorage();
// init will read the data completely; reset the storage to free
// allocated resources like streams and buffers