Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

bazel5.4.0 memory profile

34 views
Skip to first unread message

Yun Zuo

unread,
Dec 23, 2024, 6:22:02 AM12/23/24
to bazel-discuss

I'm using bazel 5.4.0 as a build tool, and I want to analyze where my project's build memory mainly stays.
According to the official documentation, I tried "build --experimental_profile_additional_tasks=local_memory_usage", but I only got the results shown below. I don't know how to analyze the resource usage of the entire project in detail.

20241223-172406.jpg

Tobias Werth

unread,
Jan 7, 2025, 4:34:27 AMJan 7
to Yun Zuo, bazel-discuss
I recommend trying the memory allocation tracker: https://bazel.build/versions/6.5.0/rules/performance#memory-profiling

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bazel-discuss/7b3955d9-af8b-4b11-b6f5-56130722abfan%40googlegroups.com.

--

Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Liana Sebastian

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. 

     

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.


Reply all
Reply to author
Forward
0 new messages