Closed
Description
Similar to but not the same as #78761: rustdoc uses an inordinate amount of memory to document large crates.
heaptrack_gui
shows almost a third of the memory being allocated in get_blanket_impls
:
However, the peak usage is actually in check_mod_item_types
, which rustdoc can't do much about:
Rustdoc should work improving on both the total memory usage and peak memory usage.
This is meant as a tracking issue, since there are issues other than get_blanket_impls
causing high memory use, such as #76382. There is a Zulip stream for technical discussion.
cc @adamgreig
Metadata
Metadata
Assignees
Labels
Category: This is a bug.Category: An issue tracking the progress of sth. like the implementation of an RFCIssue: Problems and improvements with respect to memory usage during compilation.Medium priorityRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.Working group: Embedded systems