System.out.println("free: "+store.getFreeMem()/1024/1024);
}
@Test
public void removeSomeMemMapped() throws Exception {
FSTCoder coder = createCoder();
coder.getConf().registerClass(TestRec.class);
int klen = 16;
new File("/tmp/test.mmf").delete();
FSTAsciiStringOffheapMap store = new FSTAsciiStringOffheapMap("/tmp/test.mmf", klen, 2*FSTAsciiStringOffheapMap.MB, MAX, coder);
fillAll(store);
System.out.println("size pre "+store.getSize());