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