Use the actual available free memory instead of the max possible

This commit is contained in:
Laurent Clouet
2018-08-10 17:33:50 +02:00
parent 4dc0603587
commit 6ded57fc0a
6 changed files with 65 additions and 1 deletions

View File

@@ -33,6 +33,8 @@ public abstract class OS {
public abstract int getMemory();
public abstract int getFreeMemory();
public abstract String getRenderBinaryPath();
public String getCUDALib() {