1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00
This commit is contained in:
J. Nick Koston
2025-08-18 17:35:21 -05:00
parent 58a9944601
commit 24cee8ae03

View File

@@ -1401,7 +1401,7 @@ class MemoryAnalyzer:
lines.append("") lines.append("")
lines.append("Top RAM Consumers:") lines.append("Top RAM Consumers:")
ram_components = sorted(components, key=lambda x: x[1].ram_total, reverse=True) ram_components = sorted(components, key=lambda x: x[1].ram_total, reverse=True)
for i, (name, mem) in enumerate(ram_components[:10]): for i, (name, mem) in enumerate(ram_components[:25]):
if mem.ram_total > 0: if mem.ram_total > 0:
percentage = (mem.ram_total / total_ram * 100) if total_ram > 0 else 0 percentage = (mem.ram_total / total_ram * 100) if total_ram > 0 else 0
lines.append( lines.append(