Memory amount should be in long not int

This commit is contained in:
Laurent Clouet
2019-02-20 13:46:53 +01:00
parent 6d9ca8ef2c
commit 208f49ba1d
10 changed files with 25 additions and 25 deletions

View File

@@ -50,7 +50,7 @@ public class Configuration {
private String proxy;
private int maxUploadingJob;
private int nbCores;
private int maxMemory; // max memory allowed for render
private long maxMemory; // max memory allowed for render
private int maxRenderTime; // max render time per frame allowed
private int priority;
private ComputeType computeMethod;
@@ -152,11 +152,11 @@ public class Configuration {
return this.nbCores;
}
public void setMaxMemory(int max) {
public void setMaxMemory(long max) {
this.maxMemory = max;
}
public int getMaxMemory() {
public long getMaxMemory() {
return this.maxMemory;
}