[FIX] Remove Xms to make peeps stop crying (#422)

This commit is contained in:
xxDark 2020-11-21 16:10:04 +03:00 committed by GitHub
parent 0f8f51ea97
commit ae2ef5e7c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,6 @@ private void applyClientProfile() {
this.systemEnv.put("JAVA_HOME", javaDir.toString());
Collections.addAll(this.systemClassPath, this.params.profile.getAlternativeClassPath());
if (params.ram > 0) {
this.jvmArgs.add("-Xms" + params.ram + 'M');
this.jvmArgs.add("-Xmx" + params.ram + 'M');
}
this.params.session = Request.getSession();