RecordManager recman = new BaseRecordManager(file);
PrimaryTreeMap<Long, String> map = recman.treeMap("aa");
for(long i = init; i<init+size;i++){
map.put(i, "");
}
recman.commit();
recman.defrag();
recman.close();
long fileSize = new File(file+".dbr.0").length()/1024;
System.out.println("file size: "+fileSize);
assertTrue("file is too big, compression failed", fileSize<1000);