old_contents: load("//tools/bzl:junit.bzl", "junit_tests")
  
  def acceptance_tests(
          group,
          deps = [],
          labels = [],
          vm_args = ["-Xmx512m"],
          **kwargs):
      junit_tests(
          name = group,
          deps = deps + [
              "//java/com/google/gerrit/acceptance:lib",
          ],
          tags = labels + [
              "acceptance",
              "slow",
          ],
          size = "large",
          jvm_flags = vm_args,
          **kwargs
      )
  
new_contents: load("//tools/bzl:junit.bzl", "junit_tests")
  
  def acceptance_tests(
          group,
          deps = [],
          labels = [],
          vm_args = ["-Xmx256m"],
          **kwargs):
      junit_tests(
          name = group,
          deps = deps + [
              "//java/com/google/gerrit/acceptance:lib",
          ],
          tags = labels + [
              "acceptance",
              "slow",
          ],
          size = "large",
          jvm_flags = vm_args,
          **kwargs
      )
  
subject: Revert "Increase the memory allocation for acceptance tests to 512m"