Skip to content

Commit

Permalink
Workaround[UX]: remove huge page args, as android doesn't like it
Browse files Browse the repository at this point in the history
  • Loading branch information
Vera-Firefly authored Aug 16, 2023
1 parent f20a149 commit c3d24ac
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ public static int launchJavaVM(final Activity activity, final Runtime runtime, F
purgeArg(userArgs,"-d32");
purgeArg(userArgs,"-d64");
purgeArg(userArgs, "-Xint");
purgeArg(userArgs, "-XX:+UseTransparentHugePages");
purgeArg(userArgs, "-XX:+UseLargePagesInMetaspace");
purgeArg(userArgs, "-XX:+UseLargePages");
purgeArg(userArgs, "-Dorg.lwjgl.opengl.libname");

//Add automatically generated args
Expand Down

0 comments on commit c3d24ac

Please sign in to comment.