diff --git a/site/en/rules/performance.md b/site/en/rules/performance.md index 9f0405a7f5312b..f2aec17efe3192 100644 --- a/site/en/rules/performance.md +++ b/site/en/rules/performance.md @@ -218,11 +218,13 @@ You must pass these two startup flags to *every* Bazel invocation: ``` STARTUP_FLAGS=\ - --host_jvm_args=-javaagent:$(BAZEL)/third_party/allocation_instrumenter/java-allocation-instrumenter-3.3.0.jar \ + --host_jvm_args=-javaagent: \ --host_jvm_args=-DRULE_MEMORY_TRACKER=1 ``` -Note: The bazel repository comes with an allocation instrumenter. -Make sure to adjust `$(BAZEL)` for your repository location. +Note: You can download the allocation instrumenter jar file from [Maven Central +Repository][allocation-instrumenter-link]. + +[allocation-instrumenter-link]: https://repo1.maven.org/maven2/com/google/code/java-allocation-instrumenter/java-allocation-instrumenter/3.3.0 These start the server in memory tracking mode. If you forget these for even one Bazel invocation the server will restart and you will have to start over.