Skip to content

Commit

Permalink
just some hopes and dreams (and also maybe add a default memory argum…
Browse files Browse the repository at this point in the history
…ent for the quest 1 (less manual work :) )
  • Loading branch information
thewiilover committed May 30, 2024
1 parent c18d49d commit 053881b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/pojlib/util/JREUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ public static int launchJavaVM(final Activity activity, final List<String> JVMAr
if (API_V1.model.equals("Meta Quest Pro") || API_V1.model.equals("Oculus Headset1")) {
userArgs.add("-Xms" + 2048 + "M");
userArgs.add("-Xmx" + 3072 + "M");
} elseif (API_v1.model.equals("Oculus Quest")) {
userArgs.add("-Xms" + 1024 + "M");
userArgs.add("-Xmx" + 1024 + "M");
} else {
userArgs.add("-Xms" + 2048 + "M");
userArgs.add("-Xmx" + 2048 + "M");
Expand Down

0 comments on commit 053881b

Please sign in to comment.