mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-05 16:49:41 +00:00
Runtime total memory
This commit is contained in:
@@ -41,10 +41,14 @@ public class Runtime {
|
|||||||
return rt.exec(cmdarray);
|
return rt.exec(cmdarray);
|
||||||
}
|
}
|
||||||
|
|
||||||
public long freeMemory(){
|
public long freeMemory() {
|
||||||
return rt.freeMemory();
|
return rt.freeMemory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long totalMemory() {
|
||||||
|
return rt.totalMemory();
|
||||||
|
}
|
||||||
|
|
||||||
public void gc(){
|
public void gc(){
|
||||||
rt.gc();
|
rt.gc();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user