Skip to content

Commit

Permalink
Free memory
Browse files Browse the repository at this point in the history
  • Loading branch information
tips48 committed Aug 10, 2012
1 parent 9f93123 commit 3f61b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/me/neatmonster/spacebukkit/actions/SystemActions.java
Expand Up @@ -225,7 +225,7 @@ public int getPeakThreads() {
@Action(
aliases = {"getPhysicalMemoryFree", "physicalMemoryFree"})
public long getPhysicalMemoryFree() {
return Math.round((float)SpaceBukkit.getInstance().performanceMonitor.getPhysicalMemoryFree() / 1048576.0f);
return Runtime.getRuntime().freeMemory();
}

/**
Expand Down

0 comments on commit 3f61b6d

Please sign in to comment.