message: fix: options.maxMemory overwrite bug
  see issue for bug report
diff: @@ -667,9 +667,14 @@ export async function generateArguments(options: LaunchOption) {
  throw new TypeError("Require extraJVMArgs be all string!");
  }
  cmd.push(...options.extraJVMArgs);
  + } else {
  + // if options object already has `maxMemory` property, exclude the "-Xmx2G" option from the default extra jvm args
  + if (options.maxMemory) {
  + cmd.push(...DEFAULT_EXTRA_JVM_ARGS.filter((v) => v !== "-Xmx2G"));
  } else {
  cmd.push(...DEFAULT_EXTRA_JVM_ARGS);
  }
  + }
  cmd.push(version.mainClass);
  const assetsDir = join(resourcePath, "assets");
  