static long usedMemory() { ret Runtime.getRuntime().totalMemory()-Runtime.getRuntime().freeMemory(); }