// in bytes as it should be static long getProcessSize() { if (isWindows()) fail("Windows!"); S bla = backtick("ps up " + getProcessID()); S line = toLines(bla).get(1); L vals = toList(line.split(" +")); //printStructure(vals); int processSize = parseInt(vals.get(5)); // hope for the best... ret processSize*1024; }