4875: Checks that pass locally aren't consistent on rb as they sometime aren't working but when I rerun they work

wryu

What version are you running?

Review Board 3.0.5

What's the URL of the page containing the problem?

https://rb.corp.linkedin.com/r/2160390/

What steps will reproduce the problem?

  1. When I submit files for rb they don't pass some tests on rb even though they pass locally
  2. Then when I submit the exact same files without changing any of the files, they pass those tests on rb as well
  3. Essentially the checks that run on rb aren't consistent so sometimes they pass and sometimes they don't when I submit files to rb even though they pass locally

What is the expected output? What do you see instead?

Since locally the checks pass, the expected output is that they pass. Instead I see sometimes that they don't pass with error messages related to out of heap memory: "BUILD FAILED in 39s
Expiring Daemon because JVM heap space is exhausted"

What operating system are you using? What browser?

macOS Catalina
Chrome

Please provide any additional information below.

I think the issue is related to the amount of heap space allocated to run the checks for the rb.