The metadata entry limit didn't bound the text that references produce: a valid 401 KB module with one 1,000-parameter type and 100,000 functions kept 500 MB of repeated signatures, and re-exporting one long function name copied it into every export. Each referenced type signature is now formatted once and cached, and the cache and every kept copy of a signature or name draw on one budget (64 MiB, or three times the input if larger) that is checked before copying. Metadata left out marks the report truncated with a warning. Function and tag index counting carries on past the display limit, so leaving rows out can't shift later indices or report a false declaration-body mismatch.