Fixed area filtering of contours

This commit is contained in:
Banks Troutman
2019-09-16 11:45:56 -04:00
parent 86b811a36d
commit 99c32e1d18
4 changed files with 13 additions and 4 deletions

View File

@@ -11,6 +11,9 @@ public class MemoryManager {
this.collectionThreshold = collectionThreshold;
}
public void setCollectionThreshold(int collectionThreshold) {
this.collectionThreshold = collectionThreshold;
}
public static long getUsedMemory() {
return Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();