public void free() { checkThread(); mutationCount++; if ( alloc != null ) { alloc.freeAll(); alloc = null; } if ( memory instanceof MMFBytez ) { ((MMFBytez) memory).freeAndClose(); memory = null; } // index.free(); index = null; }
System.out.println("resizing underlying "+mappedFile+" to "+required+" numElem:"+numElem); long tim = System.currentTimeMillis(); ((MMFBytez) memory).freeAndClose(); memory = null; try {
public void free() { checkThread(); mutationCount++; if ( alloc != null ) { alloc.freeAll(); alloc = null; } if ( memory instanceof MMFBytez ) { ((MMFBytez) memory).freeAndClose(); memory = null; } // index.free(); index = null; }
System.out.println("resizing underlying "+mappedFile+" to "+required+" numElem:"+numElem); long tim = System.currentTimeMillis(); ((MMFBytez) memory).freeAndClose(); memory = null; try {