Skip to content

Commit

Permalink
Fix Mem Alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
CADIndie committed Apr 21, 2024
1 parent 0975aaf commit 554fe2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/pojlib/util/JREUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ public static int launchJavaVM(final Activity activity, final List<String> JVMAr
userArgs.add("-Xmx" + API_V1.memoryValue + "M");
} else {
if (API_V1.model.equals("Meta Quest Pro") || API_V1.model.equals("Oculus Headset1")) {
userArgs.add("-Xms" + 4096 + "M");
userArgs.add("-Xmx" + 4096 + "M");
userArgs.add("-Xms" + 2048 + "M");
userArgs.add("-Xmx" + 3072 + "M");
} else {
userArgs.add("-Xms" + 2048 + "M");
userArgs.add("-Xmx" + 2048 + "M");
Expand Down

0 comments on commit 554fe2b

Please sign in to comment.